|
Posted by Shawn Wilson on 09/19/05 17:31
"Rauch Christian" <info@rauch-webdesign.de> wrote in message
news:dgm8m0$f97$03$1@news.t-online.com...
> as he already wrote before, he had no luck with set_time_limit.
> One option could be, that he makes his backup on one table, then makes a
> redirect with a variable, which table comes next and so on.
> This will only work, if there is no table to big for the time limit!
> I have not done this, but it could work. After backing up all tables, zip
> them all into one file. This could work, as the time consuming work
> for backing up from mysql is already done.
>
> You can find several classes for zip at php-classes.org eg
> http://www.phpclasses.org/browse/package/2322.html and others!
>
> All this is untested, but the idea should work!
>
> hth,
> rauch
Well, like I already said, I got set_time_limit() to work once I put it
INSIDE my loop. My idea of puting it at the start of my script with a
really big timeout didn't work. It has to be inside the loop. As each loop
only takes a second, even set_time_limit(10) works fine inside the loop.
--
Shawn Wilson
[Back to original message]
|