I'm just wondering, when using cURL and you get the results of the cURL operation via:
$ch = curl_init('www.example.com');
.......
$response = curl_exec($ch);
... and then get the status code via:
$response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
If the status code returned to $response_code is anything BUT 200 does that mean that curl_exec will always return false?
curl_initandcurl_exec301then you will still get a valid response.