PDA

View Full Version : text file and javascript



n1_0
June 1st, 2003, 12:32 PM
Does anybody know how to modify or make a text file with javascript ?

For example if I use document.write("something") and I don't want to display it in the screen but i want to save it in a text file.

Thanks

lostinbeta
June 1st, 2003, 01:40 PM
You can't do that with Javascript. You would have to use a server-side language like PHP.

n1_0
June 1st, 2003, 03:33 PM
Umm, is there a way that flash can send an output from a text box to a text file ?

Because i don't know any of PHP and i a newbie

ahmed
June 1st, 2003, 03:39 PM
you would have to send the variables to the php script that would in return store them in a textfile.. you'll need a server-side language anyways :)