Hi Arno, I was shown this code yesterday...it will allow a download of a
file. Of course you'll have to change the file name :)
header("Content-type: application/x-octet-stream ");
header("Content-Disposition: attachment; filename=file.txt");
"Arno" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I link a textfile, the textfile is opened in the browser. I want the
> SaveAs box to be shown. Is this possible and if so how to do that?
PHP General 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]