Click to See Complete Forum and Search --> : How to read a file into a Javascript array ?
pmugghc
12-08-2002, 04:23 AM
I'm an old programmer but new to Javascript. What I'm trying to do is probably not the most common uses of javascript. I just want to use it for a small application on my own PC. What I'd like to do is to read in a file from my disk into
an array. How do you do that ?
Thanks, Roland
Charles
12-08-2002, 04:50 AM
Because JavaScript is let loose on the internet it has a number a limitations that were built in for reasons of security. On of them is that JavaScript has no file controls. MSIE, however, allows other scripting languages that can erase your hard drive. PerlScript is my favorite of these.
pmugghc
12-08-2002, 04:55 AM
Thnaks, can it be a client side script, mixed with the HTML too ?
Cheers, Roland