Posted by Erwin Moller on 11/12/07 10:12
WayneBurrows wrote:
> Can I save dynamically created data to a text file on the client's
> machine?
>
> Preferrably in a user named file through a save dialog box.
Hi,
You cannot directly save a file on the clients disk (luckily).
But you can offer a download of the file.
Just create a PHP script that sets the right headers, and produces the
output.
Have a look at the header function.
You will find a few examples and also a few usercontributed notes:
http://nl.php.net/header
Regards,
Erwin Moller
>
> Thanks
>
> Wayne
>
Navigation:
[Reply to this message]
|