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

curl-and-php

Re: libcurl with redirects not working for google video, works with curl

From: Tim Schwartz <timatron_at_gmail.com>
Date: Wed, 7 Jun 2006 14:24:20 -0400

any suggestions? and does it work with your version?

thx,
tim

On 6/7/06, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Wed, 7 Jun 2006, Tim Schwartz wrote:
>
> > this is what i get, which means its not redirecting at all. would there
> be
> > some other variables i should be setting that would be automatically set
> by
> > curl -L in the command line, but not with libcurl?
>
> > [http_code] => 403
>
> The server responds with a 403 so its not a redirect. And given what
> you've
> told us, we can't really tell why the server would respond with a 30x with
> curl and 403 with PHP/CURL.
>
> You might be using different libcurl versions, the server might be
> checking
> the user-agent strings or whatever.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-06-07