Re: multi_curl with php

Admin <[email protected]> Fri, 24 Jun 2011 11:18:07 +0300
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
and Sir Daniel if i follow process as you mentioned to add a new handle as
soon one is finished, i will have this problem:

if i have 100 sites to post and i set to process 5 sites in each batch,
it will login to first 100  (ofc that's not i what i want, i want to login
to first 5 then post thread there then move to next 5 login)
then open page to all of them for post thread
then post to all of them in a new curl_exec call.

so i cant make them to execute in one call to login, open new thread and
post.  :(

Best Regards



On Thu, Jun 23, 2011 at 11:54 AM, Daniel Stenberg <[email protected]> wrote:

> On Thu, 23 Jun 2011, Deepesh Malviya wrote:
>
>  I guess, instead of putting them all the sites at once to handle, you can
>> do it in the batch of 5, process and after completion of those 5 do for next
>> 5.
>>
>
> ... or just make sure that as soon as one transfer is complete, you add a
> new handle so that there's 5 going all the time until all transfers are
> done.
>
> --
>
>  / daniel.haxx.se
>
> ______________________________**_________________
> http://cool.haxx.se/cgi-bin/**mailman/listinfo/curl-and-php<http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php>
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php