You are here: Re: Dealing with maximum execution time « PHP Language « IT news, forums, messages
Re: Dealing with maximum execution time

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация