19,155 tutorials online
11 tutorials pending review
763 dead links removed





Perl and CGI: Counters Tutorials

 

Adding an Access Counter
Posted in Perl and CGI > Counters by tutorialgrub on Oct 05, 2011

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.
29 Views | 0 Comments | 0 Votes | 0 FavesShareAdd To FavoritesReport Tutorial


1