RE: How to bypass (pipe) curl_exec return value directly to a file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> > curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
> 
> I wouldn't recommend setting this to 0 unless you're very sure that
> the connection will succeed; otherwise, your script will hang
> indefinitely waiting for the connection to be made.

agreed, it's just he set timeout to zero so I guess he meant the curl connection as well otherwise it does not make sense to set the timeout to 0 if curl has 10 seconds timeout :-)

Regards
 		 	   		  
_________________________________________________________________
Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux