G
It's not logical that the first fallen person who knows my e-mail has ordered a retrieval of the password, and I have a password change... Made:curl -d 'email=мой@e-mail&ok=1' http://url.где.этотскрипт
We'll put it in ten minutes and order, I've got a lot of shit.Substantial: The link to the database is transferred after verification to an empty e-mailUPDATE:curl is a command-line utilite with a lipstick that can be staggered/downloaded/uploaded, and many more useful or harmful actions.Well, protection - we're setting up another table where she reclaims her species:id, timestamp, login
When requested, we record (update) the entry in this table, as id writes some md5, timestamp = now(), login and e-mail, respectively, send a letter to e-mail referring to the recovery page containing id.This page checks the availability of id in the table and, if any, changes the password or asks the user what password is to be inserted and removed from the password recovery table.About that.