On Mon, Apr 06, 2009 at 08:29:18PM -0400, Corey H Maass - gelform.com wrote:
>
> curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2);
...
> But it doesn't timeout. Any ideas?
FYI...
CURLOPT_CONNECTTIMEOUT just works on the connection attempt. So once
you're connected, this option doesn't mean anything.
CURLOPT_TIMEOUT, on the other hand, works on the whole process, I
believe.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/show_participation.php