Random Password!




Im creating a registration script and want the script to be able to create a random password containing letters and numbers that i can send to the user.
How can i do this? Ive tried looking on PHP.net etc but im normally not very gd at finding things! :)
-you can use md5 hash for that purpose input combination (date,time,timestamp) with microseconds...
-make habit of solving problem ... :D
Ok sort of understand what you mean, but how would i make it do this?

(and im getting better :) )

store that $passwod in db and send to user;
-if you really want to make complex read :D more from php manual about encryp functions and time date functions...
Perhaps this thread would be of help to you. Read the whole thing, though, as there's some important stuff toward the end.