curl-and-php
Re: thounsands of post request
Date: Mon, 12 Jan 2009 19:51:16 +0100
On Mon, 12 Jan 2009, Lukas Polak wrote:
>
>> So I have cURL 7.16.0. and windows XP with apache 2.2.11 with PHP
>> 5.2.8. The thing is that sometimes it goes well and go through whole
>> page (I've just tried it in safari) and sometimes it ends up
>> randomly, for example at 150th post, with no error (I print out count
>> of errors after each post). That's what I think about cURL. It
>> shouldn't matter how manny post I'm trying to do but I don't get it.
>
> Isn't that simply because your browser/server/whatever will limit the
> time it will sit waiting for the script to complete and 10K posts
> probably will take "forever" ?
>
Popping into this thread late, but could it be possible that you need to
tweak PHP Maximum Execution Time http://fr.php.net/set_time_limit ?
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-01-12