cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: that 400 error again

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 8 Mar 2008 09:42:20 -0800

On Sat, Mar 08, 2008 at 01:19:57AM -0800, Lorenzo Ponce wrote:
> What can I do in order to be able to read that page into the $res variable ?

Are you asking how to return the error code for that page into the $res
variable? Try curl_easy_getinfo (or the equivalent for your binding) with
CURLINFO_RESPONSE_CODE

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-03-08