6

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 1

6

You need to pass the request id through curl_getinfo and you'll get back an array containing a key of http_code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.