At 03:27 29.01.2003, Dara Dowd said: --------------------[snip]-------------------- >I have the following headers in download.php which forces a download dialog >box to be opened when a user clicks on a desired file: > >header("Content-type: application/octet"); >header("Content-Length: $filelength"); header("Content-Disposition: >attachment; filename=".basename($fname).";"); --------------------[snip]--------------------
The correct Content-type is "application/octet-stream". Should work with that. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php