|
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
Navigation:
[Reply to this message]
|