cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Not able to follow redirections

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Jun 2007 13:59:48 +0200 (CEST)

On Thu, 14 Jun 2007, Gowranga wrote:

> I have included header and verbose options, and the run now gives response
> on LiveHTTPheaders as

LiveHTTPheaders is for tracking what your firefox sends and gets. When the PHP
script runs on another place, you using LiveHTTPheaders won't help one bit on
this tracking. You should rather use CURLOPT_VERBOSE, or even better extend
the PHP/CURL interface to offer support for CURLOPT_DEBUGFUNCTION and do a
full trace of the traffic.

> HTTP/1.x 200 OK

This is simply what your script returns back to the browser, isn't it?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-06-14