468,505 Members | 1,760 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

display page counter in HTML page

I have ASP file that reads in the text file that holds the page count. It then increments by 1 and writes it back to the text file. This file works by itself when I type http:\\localhost\updatecounter.asp. I need to know how to access this value in a HTML page. I tried to use the ASP code inside the HTML page within VBScript but the opentextfile etc didn't work. I also used the include in the HTML page. Any ideas? I use IIS 7.5 and Windows 7 Professional.
Dec 8 '11 #1
1 1720
read http://w3schools.com/asp/asp_ref_textstream.asp
you have to read the textfile.
Dec 15 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by uto | last post: by
reply views Thread by fltcpt | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.