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

curl-and-php

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Jun 2006 19:02:51 +0200 (CEST)

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
Received on 2006-06-07