In article <Fc*******************@twister.nyc.rr.com>,
ke*******@mastercraftusa.com enlightened us with...
JavaScript cannot access files.
That is very simplistic and said so generally, wrong.
Client-side javascript in the default security environment of an
internet site cannot access server-side files after the script is loaded
onto the client.
Client-side javascript run via an HTA on a user's computer certainly CAN
access client-side files. In fact, it can access pretty much any file on
the entire computer.
Client-side javascript run on an internet site and accessed via a
browser can access server-side files by doing the following:
<script src="/cgi-bin/whatever.js">
The whatever.js file can be anything, including a CGI script.
Server-side javascript, as seen in some Netscape web servers, certainly
can access server-side files. ASP JScript, which is a version of
javascript (kinda sorta) can also access servers-side files.
There's a lot more to this than just saying it can't access files.
--
--
~kaeli~
The best part of having kids is giving them back to their
parents.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace