Reply to Re: preg_match_all Maximum execution time of 60 seconds error

Your name:

Reply:


Posted by Rik on 08/17/06 22:18

Shuan wrote:
>> It's okay if you're doing a job that really needs a long time to
>> execute, such us retriving a 50 MB file from the Internet, spidering
>> a web site or synchronising two databases.
>>
>> Is that the case?
>
> i don't have to get a big file but i need to crawl the whole
> websites( about 1000 pages )
> and that takes time;

Well yeah, about a 1000 pages will almost certainly need more execution time,
forget what I said about the regex. As the preg_match_all is likely the most
time consuming part of your script (be it relativelyy fast), chances are quite
high that in it's nth execution the limit is passed.

DO you know how many pages you do parse in those 60 second BTW?

Grtz,
--
Rik Wasmus

[Back to original 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

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