Page 1 of 1

Url variables

Posted: Wed Jun 16, 2010 3:47 pm
by nick2price
Hi. I am working with url variables. I do this code

Code: Select all

$sender = urlencode($_SESSION['sender']);
$body = "www.animatemycard.com/Anniversary/anniversarySendCard.php?sender=$sender";
And then send it to someones email address. When they receive the email, they get something like
www.nyUrl.com/tester/tester.php?sender=john

Which should be correct, as I typed john into the input field. Problem is, when they click on the link, the server cannot find this url. This is because the url I have saved is on my server looks like
www.nyUrl.com/tester/tester.php

Am I doing something wrong here, I didnt think this would effect my url?

cheers

Re: Url variables

Posted: Sat Jun 19, 2010 12:36 pm
by andyhoneycutt
when you say:
Problem is, when they click on the link, the server cannot find this url. This is because the url I have saved is on my server looks like
What are you meaning by 'the url you have saved on your server'...