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
> save the file.
> like when i click on a zip file from a website, ie asks me to save the
file
> to somewhere.
>
> how do i create the file and then tell my browser to ask the user to save
> the file somewhere
>
> ???
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to