URL Parameter Retrieving
Posted: Mon Jan 15, 2007 2:32 pm
Ok, I'm working on the customer registration page and when the user clicks on the submit button it sends an email to the address specifiec where they can click a link. This link is has the user's information coded into it as parameters and I know the php variable values are not null, but when it goes to the confirmation page the parameters are empty. I'm sure they are present in the URL. Here's a snippet of the url, could someone can tell me if it looks right.
And here is the result when you click on the link:
https://somewhere.com/accountConfirmation.php?name=
So when I try to do $name = $_POST['name']; it turns up blank.
Thanks for any help.
Code: Select all
$message = "
<html>
<head>
<title>Account Confirmation</title>
</head>
<body>
<table><tr><td width='100'>
<a href='https://somewhere.com/accountConfirmation.php?name='$name'&address='$address'>
Click Here Only Once</a>
</td></tr></table>
</body>
</html>
";And here is the result when you click on the link:
https://somewhere.com/accountConfirmation.php?name=
So when I try to do $name = $_POST['name']; it turns up blank.
Thanks for any help.