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

Cheers Joe

header("Content-type: application/x-octet-stream ");
header("Content-Disposition: attachment; filename=file.txt");
header("Content-Transfer-Encoding: ascii");

"Arno" <[EMAIL PROTECTED]> wrote in message
> 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]

Reply via email to