At 13:15 12.11.2002, Maxim Maletsky said:
--------------------[snip]--------------------
>Yes. Just make a header appropriate for browser to understand that it
>should fire up the download dialog.
--------------------[snip]-------------------- 

To force virtually any browser into download mode, specify your content
being an application/octet-stream:

    header('Content-Type: application/octet-stream');

Of course, if you're serving an MSWord document (phew) you might have
MSWord open directly in the browser:

    header('Content-Type: application/msword');



-- 
   >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

Reply via email to