Redirecting to a page and downloading

2002-04-06 Thread Octavian Rasnita
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

Re: Redirecting to a page and downloading

2002-04-07 Thread Joshua Hayden
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. >

RE: Redirecting to a page and downloading

2002-04-07 Thread Scot Robnett
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