| | Hi, I need a little script that should do this thing:
I have a MySql Database.
In this database there is many cells.
One of this has name "DATE", another one "IP".
The script should do this:
IF you find a cell named IP with NO VALUE inside, you should generate e RANDOM IP and INSERT it in the database.
The random IP generated should be similar of an Italian IP, like 79.136.24.38.
All the ip must be different one from each other.
Then if you find a CELL named "DATE", you should generate a DATE and TIME in this format:
0000-00-00 00:00:00
All the date and time should be plausible and after May 2007.
That's all :)
I will give access to username and password of the database.
Bye |