View Single Post
Old 04-17-2008, 06:48 AM   #2 (permalink)
EyeDentify
The Acquainted
 
EyeDentify's Avatar
 
Join Date: Nov 2007
Location: Sweden
Posts: 106
Thanks: 13
EyeDentify is on a distinguished road
Default

Well just put together a string that you send to the new users email. You could put it together like this perhaps ?
PHP Code:
<?PHP

$szValHash 
md5(microtime());

$szMyLoginUrl 'http://www.mysite.com/login.php?hash=';

$szValUrl $szMyLoginUrl $szValHash;


// Insert $szValUrl where you want to echo the url.

echo('<A HREF="' $szValUrl '" target="_blank">Validate your new account</a>');
?>
Above echo will print something like this:
Code:
<A HREF="http://www.mysite.com/login.php?hash=1f3870be274f6c49b3e31a0c6728957f" target="_blank">Validate your new account</a>
I hope thats whats your after.

Good luck :)
__________________
Of course the whole point of a doomsday machine, would have been lost if you keep it a secret.
EyeDentify is offline  
Reply With Quote