Click to See Complete Forum and Search --> : text file reading


chaoticone
06-30-2003, 07:35 AM
Greetings,

I was wondering if there is a way with javascript to read a text file that has "tips" in it to be displayed in webpage. I'd like to be able to make it either read the whole text file in or parse out random sections of it.

Is there anything similar to this already made and is it even possible?

Thanks

pyro
06-30-2003, 09:16 AM
Javascript doesn't have any file I/O capabilites, so the best you could do in javascript is use an external .js file. The best thing you could do overall, however, is use a server side language such as PHP, CGI/Perl, ASP, etc...