cURL / Mailing Lists / curl-library / Single Mail

curl-library

Detail error information on error

From: <rkevinburton_at_charter.net>
Date: Tue, 21 Jan 2014 16:34:31 -0500 (EST)

I am using CURL that comes with PHP. I know about curl_error. I am
finding that when I get a 500 error from a particular server not only do
I get a 500 error but the server puts detail information about the error
in the body of the error response. How do I get at the error data using
curl in PHP?
Thank you.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-21