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 12:10:00 -0400

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?

thx,
tim

tim-mac:~/Desktop tschwartz$ php curl-test.php
Array
(
    [url] =>
http://vp.video.google.com/videodownload?version=0&secureurl=tAAAAG7ggqAHSiJjpW0D3w4aYTWMt8S_dC2375mvvA8BjcduktxqIrT1TDF0HVE8bMJAdlIcqXmD9ObiGuRECCtbh-0mK8t-CmJG_YY52J9PQrZpomgh-WN_YOFz2yhmRDzUNFGiyu-O7lzYzyzspOX6vrf5qwmwNwW5udIplPwm-1CyiO5hiXtcw0FSxhzciEU3kEHUk5pNkh8TtmD0xjOHLT5elw9oh0HL4MVwd6PloHIDLZ4E6fGWfHqimwxWBtJxnQ&sigh=LDVIawBhi0Yh7-x_bkLfGwEFoNM&begin=0&len=265099&docid=-8627390594491892243
    [content_type] => text/html
    [http_code] => 403
    [header_size] => 126
    [request_size] => 433
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.191675
    [namelookup_time] => 0.105195
    [connect_time] => 0.136892
    [pretransfer_time] => 0.139217
    [size_upload] => 0
    [size_download] => 135
    [speed_download] => 704
    [speed_upload] => 0
    [download_content_length] => 135
    [upload_content_length] => 0
    [starttransfer_time] => 0.189689
    [redirect_time] => 0
)
Error-Message: You must update the Google Video Player to view this content.
Please go to http://video.google.com/playerdownload.html

On 6/7/06, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Wed, 7 Jun 2006, Tim Schwartz wrote:
>
> > I was using 7.13.1 but just compiled 7.15.3 and the problem still
> persists
> > with the new version:(
>
> And what about my other question?
>
> --
> 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