Re: How can the Surfer download
| From: | Jason Wong | Date: | Thu, 24 Jan 2002 19:27:20 +0000 |
| Subject: | Re: How can the Surfer download | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81941@lists.php.net to get a copy of this message | ||
On Friday 25 January 2002 03:06, Todd Cary wrote:
> Jason and Daniel -
>
> Maybe this is a cop out, however it is working. Comments welcomed......
>
> <html>
> <head>
> <?
> print('<meta http-equiv="refresh" content="0; URL=docs/' .
> $filename
> . '">');
> ?>
> <title>Sendfile</title>
> </head>
> ...
Hmm, but if the file was a recognised type then this would just display the
file in your browser. So wouldn't it be easier to use the header("Location:
...") example that I gave earlier?
In any case I thought your objective was to display a "Save/Open ..." dialog?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
I have a terrible headache, I was putting on toilet water and the lid fell.
*/