Page 1 of 1

multi curl - mCURL and Timeout in PHP5

Posted: Tue Sep 25, 2007 7:08 am
by buttsp
Hello Guys,
I have heard that in php5 there is a built in support for mCURL or in other words it is possible to open multiple parallel connections with different feeds/urls?
Now if the above is true then somebody please also tell me if it is possible to set a timeout (in millisecond) for each single connection as opposed to set a global timeout connection for all the feeds?


In Nutt-shell, I want to find out, how this mCURL feature (if possible) handles timeouts on a single feed level?

Any small code snippet help would be really appreciated.

Thanks.

Posted: Tue Sep 25, 2007 9:36 am
by feyd
curl_setopt() requires the curl resource handle. One can assume that sets options per resource.