Re: [PHP] Re: help needed with headers

2002-04-27 Thread Donna Robinson
Hi, I spent ages figuring this one out so it work work on Windoze, Linux, Mac, ... and this *always* works: Create a hyperlink for user to click on: echo ' Download TXT'; On click, we come back in to this: if ( $action == '*' ) { if ( isset( $download ) ) { downloadFile( $download ); w

[PHP] Re: help needed with headers

2002-04-27 Thread Yuri Petro
Try this: header ("Content-type: text/plain"); header ("Content-disposition: attachment; filename=file.txt"); -- Kind regards, Yuri. www.AceHoster.com Quality web hosting "Vins" <[EMAIL PROTECTED]> > I would like to create a text file that doesn't save to disk but askes me to > sav