...

View Full Version : Obtain info from .txt file



Richard Summers
08-11-2005, 09:43 PM
Hello,

Could someone please tell me how to obtain text that is contained within a .txt file on the server.

Example :
I want my index.htm page to display (via javascript) the number that is stored in my "hits.txt" file in the same directory.

Thanks.

Single Paradox
08-11-2005, 10:00 PM
Not possitive, but I would guess you need a server side language for that, such as PHP. fopen() fread() fclose().

vwphillips
08-11-2005, 10:43 PM
see

http://www.js-examples.com/forum/viewtopic.php?t=1034



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum