cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET