By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,678 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

display page counter in HTML page

P: 38
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
Share this Question
Share on Google+
1 Reply


P: 16
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.