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
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
2 matches
Mail list logo