Reply to Re: Script halts after 60 minutes

Your name:

Reply:


Posted by Mikhail Kovalev on 02/01/08 00:23

On 1 Feb, 00:52, a...@spamcop.net (axlq) wrote:
> In article <bad6f896-4f0f-4b84-a779-bf1c082bc...@e6g2000prf.googlegroups.com>,
> Mikhail Kovalev  <mikhail_kova...@mail.ru> wrote:
>
> >And, a funny thing I think it always halts at the same line, which
> >looks like this:
>
> >    $string_2 = file_get_contents($string_1);
>
> Try
>
> echo $string1."\n";
>
> That might explain what's happening.  You may be trying to access a
> locked file, and get a time-out while waiting for release.
>
> -A

$string_1 is an url address, or hundreds of different, but similar
(same host) url address which are opened after each other. I know at
least some of them are working as I am able to watch the script
progress. I guess the reason it halts at this line is because
file_get_contents($string_1) usually takes around 1 second, while all
other following commands are just milliseconds. Statistically it makes
sence.

Basically, my problem is to get the script work longer than 3600
seconds

A friend of mine uses same script on a Mac OS X 10.5 with PHP 5.?.?,
with no problems

[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

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