Click to See Complete Forum and Search --> : Javascript file writing


pepe
03-01-2003, 04:09 PM
Is is possible, using java/javascript, to write a file, such as an html file from the website, on the client end. I have full FTP access, if that matters.
I want to have people be able to type text into a textbox and then click a button, then have it write that file to the web directory. (File type does not matter)

Thanks in advance,
~ Pepe ~

AdamBrill
03-01-2003, 04:19 PM
No, you can't do that with javascript. You would have to use PHP or some other server side language. It is really easy to write to files with PHP, so if your server supports it, I would just try that.