curl-and-php
Re: Not able to follow redirections
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jul 2007 23:11:08 +0200 (CEST)
Date: Mon, 2 Jul 2007 23:11:08 +0200 (CEST)
On Mon, 2 Jul 2007, Gowranga wrote:
> I have tried using curl in command level
>
> curl -x proxy:port -o curl.html -L http://curl.haxx.se
>
> The html output has certain hyper-links such as "Results" point the right
> URL, but most of the other links such as "command line tool" still refer to
> the local host.
curl downloads the HTML exactly as the remote host (or proxy) provides it. If
the links are all relative, you'll get them all relative.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-07-02