Hi,
I'm using following code to download a file. IE5 shows the Open/Save dialogue,
if I select 'Save", it works. But if I select "Open", it again shows the same
dialog with the name of my .php file. Now if I say open, it opens a blank file.
Can anybody help me?
header("Content-type: unknown");
header("Content-Disposition: attachment; filename=$name;");
readfile($name);
Regards, | Linux
Urmil Parikh | It is now safe to turn on your computer
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]