![]() |
|
#1
|
|||
|
|||
Is it possibleWhat I want to know if it is possible (and if so how to implement it) is this:
Pick a random password from an array and change ever 24 hours OR when a user uses the password, show admins and mods password so they do not have to look around. I was thinking that this will probably require MySQL for the User Database but I have no idea where to even start, I thought this idea was interesting so if you can help it is appreciated. |
|||
|
#2
|
||||
|
||||
Re: Is it possiblew3school has got nice articles for php bginners and php.resourceindex.com and hotscripts.com are the places where you can look for readymade scripts.
|
|
#3
|
||||
|
||||
Re: Is it possiblePlease read array_rand() at
ca3.php.net example for selecting a random value from an array <?php srand((float) microtime() * 10000000); $input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank"); $rand_keys = array_rand($input, 2); echo $input[$rand_keys[0]] . "\n"; echo $input[$rand_keys[1]] . "\n"; ?> Please add to my reputation if you like the reply... |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The