Url variables
Posted: Wed Jun 16, 2010 3:47 pm
Hi. I am working with url variables. I do this code
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
Code: Select all
$sender = urlencode($_SESSION['sender']);
$body = "www.animatemycard.com/Anniversary/anniversarySendCard.php?sender=$sender";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