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 <?php header("Content-type: application/x-octet-stream "); header("Content-Disposition: attachment; filename=file.txt"); header("Content-Transfer-Encoding: ascii"); readfile("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? > > TIA > > -- 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]