Jonnyb42
10 Apr 2010, 01:32 AM
in PHP, regarding the curl_exec() function, which cURL option can detect a URL not valid or not working when you use curl_exec(), CURLOPT_CONNECTTIMEOUT or CURLOPT_TIMEOUT ?
I tried both, and only CURLOPT_TIMEOUT seemed to work, but I was hoping connecttimeout would work because I need to wip past many many urls as fast as possible, CURLOPT_TIMEOUT still seems to take a while even when you set it to 1 millisecond...
Can anyone help me? (im new to cURL functions)
thx
I tried both, and only CURLOPT_TIMEOUT seemed to work, but I was hoping connecttimeout would work because I need to wip past many many urls as fast as possible, CURLOPT_TIMEOUT still seems to take a while even when you set it to 1 millisecond...
Can anyone help me? (im new to cURL functions)
thx