Teen Programmers Unite  


Return to forum top

Javascript question (printing from a textbox to a file)

Posted by Linux_Penguin [send private reply] at June 26, 2002, 09:03:06 PM

How do you print from a text box to a file?

Posted by gian [send private reply] at June 28, 2002, 01:22:28 AM

Javascript does not allow file io. This would be a hideous security risk (Hey, how about I let this Javascript app put format c: in my autoexec.bat file!).

Posted by AngelOD [send private reply] at June 28, 2002, 03:53:59 PM

/me doesn't have an autoexec.bat :P

But seriously, Gian's right. It would the biggest security risk since, hmm.. Well since IIS was released.

Can't be done server-side either, as JavaScript is client-side.

Posted by i_need_a_new_name [send private reply] at June 28, 2002, 04:27:18 PM

their both right :P if you have any more JS questions you can ask me, im ok at it :)

Posted by Linux_Penguin [send private reply] at June 29, 2002, 06:48:41 PM

Well... my friend origionally asked me to make him a guitar tab writer, me being really lazy put it off. Later I discovered some holes in the idea (like why not just do it in a word processor?) so I wanted some features that might make it a little better, but this one just doesn't look to promising. Boy talk about a run on sentence :)

You must be logged in to post messages and see which you have already read.

Log on
Save for later automatic logon

Register as a new user
Copyright TPU 2002. See the Credits and About TPU for more information.