Best Tutorials website


Adding an Access Counter

Adding an Access Counter

CGI programs can make your Web pages dynamic, and one popular application of CGI is the addition of an access counter. An access counter is a text or graphical representation of the number of times that your Web page has been requested. Access counters work either by including a CGI script within an HTML page with Server Side Includes or the < IMG > tag, or by generating the entire HTML page from a CGI script. When a user requests the HTML page containing an access counter, the CGI script checks the current access count, increments it by one, and displays the results in the Web page. Many Web sites have added access counters to their home pages.




Views: 989 | Rating star | by David




View this tutorial
Broken link Report broken link?