faqts : Computers : Programming : Languages : PHP : Common Problems : HTTP Headers

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

15 of 49 people (31%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How to get IE to show filename in "File Download" window rather than showing script name when using a download script (ex: download.php?filenum=3)?

Nov 27th, 2002 18:07
taylor gerring, Chris Hall,


Along with several other headers,
header("Content-Disposition: attachment; filename=".$fileName);
will suggest a name for the file, where $fileName is the name of the 
file.