very tanks for your response.
I think that i should explain more than my problem.
my php code that generate hyperlink and send it is:
$e = mysql_real_escape_string ($useremail);
$a = md5(uniqid(rand(), true));
$body = "Thank you for registering at <whatever site>.
To activate your account, please click on this link:\n\n";
$body .='http://127.0.0.1/frm/activate.php?x=' . urlencode($e) . "&y=$a";
mail('$useremail', 'Registration Confirmation', $body, 'From: admin@localhost');
echo '<h3>Thank you for registering!
A confirmation email has been sent to your address.
Please click on the link in that email in order to activate your account.</h3>';
exit();
by this line of code
$a = md5(uniqid(rand(), true));
generate
a 32-character identifier that attached to user email and send to
active.php page. the generated and sent link must be same to this link
http://127.0.0.1/frm/activate.php?x=omid%40localhost&y=adaa259aa513449d95aa6e8ab36847f1
but when i read recived mail by pegasus this link is
http://127.0.0.1/frm/activate.php?x=omid%40localhost&y=adaa259aa513449d95aa6e8ab36847f1
if you notice to above link, this link is incorrect. 13 character in the end of above line in not a html link.
why?[:^)]
<p>very tanks for your response. </p><p>I think that i should explain more than my problem.&nbsp;</p><p>my php code that generate hyperlink and send it is:</p><p>$e = mysql_real_escape_string ($useremail);
<b>$a = md5(uniqid(rand(), true));</b>
$body = "Thank you for registering at &lt;whatever site&gt;.
&nbsp;To activate your account, please click on this link:\n\n";
<b>$body .='http://127.0.0.1/frm/activate.php?x=' . urlencode($e) . "&amp;y=$a";</b>
mail('$useremail', 'Registration Confirmation', $body, 'From: admin@localhost');
echo '&lt;h3&gt;Thank you for registering!
A confirmation email has been sent to your address.
&nbsp;Please click on the link in that email in order to activate your account.&lt;/h3&gt;';
exit();
</p><p>by this line of code</p><p>&nbsp;<b>$a = md5(uniqid(rand(), true));</b></p><p>generate
a 32-character identifier that attached to user email and send to
active.php page. the generated and sent link must be same to this link</p><p><b><a href="http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95aa6e8ab36847f1" title="http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95aa6e8ab36847f1" mce_href="http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95aa6e8ab36847f1">http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95aa6e8ab36847f1 </a></b>
</p><p>but when i read recived mail by pegasus this link is </p><p><b><a href="http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95a" title="http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95a" mce_href="http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95a">http://127.0.0.1/frm/activate.php?x=omid%40localhost&amp;y=adaa259aa513449d95a</a></b>a6e8ab36847f1 </p><p>&nbsp;if you notice to above link, this link is incorrect. 13 character in the end of above line in not a html link.</p><p>why?[:^)]
</p><p>&nbsp;</p><p>&nbsp;</p>