I wanted to know if u could hide the member_id and disguise it. So instead of member_id=12 , could it be like member_id=123h1o280hdf90
the code
Code: Select all
<?php
$id="select member_id, username from members where username = '$username'";
$rs=mysql_query($id,$db);
while ($r = mysql_fetch_array($rs))
{
$member_id = $r["member_id"];
}
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: info <info@ad.co.uk>\n";
$subject = "Member Details";
$body ="<html><head></head><body>Welcome $username for joining AdHudd.
Your username is $username and your password is $password.
Please keep these details safe
<br><br><br>To validate you account please
<a href='http://www.supre.co.uk/validate.php?member_id=$member_id'>
click here</a></body></html>";
?>