Alright, so I'm using curl_multi_* to connect to various sites simultaneously. How would I return the HTTP Status Code to a variable for comparison?
1 Answer
You need to pass the request id through curl_getinfo and you'll get back an array containing a key of http_code.