I didn't do it myself YET so you may concider my suggestion as a utopia. However the 
idea is to 
record the date of visit of each visitor of your site and then compare last two 
records (last two 
visits) as soon as dates are different (dd.mm.yyyy - you need to compare only dd) your 
database 
backup starts. But of course you won't be able to do it in midnight only, it can 
happen in any time. 

Youri

> Hi,
> 
> I have a form (POST method), that creates a back-up of a MySQL
> database as an SQL file when submited. I am looking for a way to
> automate this task (ie on a daily basis at midnight). Any idea on how
> to do it in PHP? (if it is possible)
> 
> Thanks
> 
> Gab
> 
> 
> 

<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to