Page 1 of 1

Is there any method to create text file on Client machine ?

Posted: Sat Jul 19, 2003 6:07 am
by gopi123
Hi all,


I want to create the text file on the client machine through the program.
Is there any method to do so? :?:

Your reply is highly appreciated.

Thanks in advance.

Bye for now,
Gopinath

Posted: Sat Jul 19, 2003 6:57 am
by Fredix
i think that the only thing you can create on a client machine is a cookie. I'm !not sure! but you maybe can use JavaScript to create a textfile on clientside.

Posted: Mon Jul 21, 2003 3:33 am
by twigletmac
You can create a text file on your server and make it available as a download to the user but you definitely can't use PHP to save it directly to the user's computer. I doubt that you'd be able to use client side stuff to do this either - imagine the security risk if it were possible for web sites to save any old file on a client machine.

Mac

Posted: Mon Jul 21, 2003 6:38 am
by Fredix
imagine the security risk
yes, that's another interesting topic because I still wonder why people consider JavaScript as a security hole and disable it.

Posted: Mon Jul 21, 2003 7:22 am
by Gleeb
popups, nuffsaid

Posted: Mon Jul 21, 2003 2:31 pm
by PaTTeR
This is possible, but not with PHP. You can use Java aplication for this, but your users must give it access.