Hi
I got a registration, login script in my little test project I am working on and it all works perfect and the forgot password works but it is set to enter username and I am trying to change it to email as users remember their email address more than what username they use
I got the script from the following link, it is all in mysqli etc.
https://app.box.com/s/zrwnsa36x8iifou1zdim
the coding looks like it is attached to four different php files which I have posted in pastebin and provided the links below
I have had a go myself at changing it from username to email but not had any joy so far
http://pastebin.com/N8G3Ua0T - forgotpass.php
http://pastebin.com/mV5w28ni - process.php
http://pastebin.com/N8RApV6m - include/session.php
http://pastebin.com/RyceNBFK - include/database.php
I have not changed the session.php and database.php as could not see anything in there to change so just changed the forgotpass.php and process.php file from username to email
I have commented out the coding for username in process.php and put the email coding just below it, it starts on line 120
Sorry