curl-and-php
Re: multi_curl with php
Date: Fri, 24 Jun 2011 07:36:48 +0300
Thank you sir for input, ok i understand the batch thing, but please see
here i need to make 3 requests and each time it does this
-> initialize curl_multi with login page
-> Second initialize again for post new thread page
-> Last initialize to post thread.
so if i have 5 sites in handle it process above 3 steps to them individual,
i was thinking if there is any possibility it can work as follow
-> initialize curl_multi for 5 sites
in a single request it goto login, open new thread and then post thread
to one site. so i dont have to repeat 3 time curl_multi_exec.
Regards
On Thu, Jun 23, 2011 at 11:54 AM, Daniel Stenberg <daniel_at_haxx.se> 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
Received on 2011-06-24