Posted by Andy Hassall on 06/02/05 00:48
On 1 Jun 2005 14:31:25 -0700, "whimsica" <whimsica@aol.com> wrote:
>
>Hi. I'm trying to use cURL to output the redirect of the site
>http://www.disney.com
>which redirects to
>http://disney.go.com/home/today/index.html
>But it does not work... What am I doing wrong?
>I want to know what the redirect url is and then output it on a page.
If you dump out the contents of the original URL, you can see it uses
Javascript to do the redirection.
Visit the page with Javascript disabled and you get locked out of the site.
cURL won't be running Javascript either.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Navigation:
[Reply to this message]
|