t: Re: Redirecting to a page and downloading
Javascript seems to work pretty well for this.
If you put this in a page, the visitor will be prompted to download the file
as soon as the page is fully loaded.
Best Regards,
JOSHUA D. HAYDEN
- Original Message -
From: &quo
lt;[EMAIL PROTECTED]>
Sent: Saturday, April 06, 2002 10:52 PM
Subject: Redirecting to a page and downloading
> Hi all,
>
> I want to make a script that will start downloading a file when a link is
> clicked, then it will redirect to another web page.
> Please advice how to do it.
>
Hi all,
I want to make a script that will start downloading a file when a link is
clicked, then it will redirect to another web page.
Please advice how to do it.
If I put:
print "Location: $path\n\n";
... this will start downloading if the $path is a path to a file, but the
page won't be printed