Hi guys, iv been asked to make a login system for a AMS project that will use some PHP and a MYSQL database to store registration information, iv got the AMS/MYSQL stuff under control but what i need is a basis of a PHP script that will:
1. receive email, username and hardware id from user (via HTTP.Submit)
2. generate a random password (
2. save email, username,hardware id and generated password to MYSQL
3. send email, username,hardware id and generated password back to users email addy
4. return status of the above back to AMS (pass or fail)
also some advice on making a PHP script secure (hacker safe)
any help/advice would be great


)
