Code: Select all
<?
mysql_connect("localhost","usernamehere","passwordhere");
mysql_select_db("yourdatabase";
?>also1 I would recommend they verify their birthday, email, and middle name of osmething
also2 make suyre that once they recieve their new pw... that they have an option to change their pw to whatever they need
also3 I recommend not using the 10 digit number... but rather a mix of numbers and letters.. something less easy to crack