Ave,

I didn't quite understand what you meant.
The kind of files being saved by this script range from ZIP files to DBF
files to JPG files etcetera. Where will the HTML be in those saved files?

Any suggestions on what I need to do to make this work?



On 8/30/04 8:31 PM, "Curt Zirzow" <[EMAIL PROTECTED]> wrote:

> * Thus wrote PHP Junkie:
>> Ave,
>> 
>> It still doesn't work. Not only that, I put up a "close window" button in
>> the page and even that doesn't show up. Although that's still not what I
>> want. What I want is the window to close automatically.
>> 
>> Here's my page:
>> 
>> <?php
>> $file = "$P/$F";
>> header("Content-Description: File Transfer");
>> header("Content-Type: application/force-download");
>> header("Content-Disposition: attachment; filename=".basename($file));
>> @readfile($file);
>> ?> 
>> <html>
>> <head>
>> <title>D/L Window</title>
>> <script language="javascript">
>> function close_opener()
> 
> Take a look at the end of the file you saved, you'll see your html
> there.
> 
> Curt

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to