ADAMARK Design  
PHP Multipage Counter

PHP Multipage Counter
Version 1.5
November 25, 2000

PHP_Counter is freeware and was developed by Adam Stout - ADAMARK Design, ©2000.

PHP_Counter is a multi page hit counter. One copy of the tag will allow you to put a counter anywhere on your server. Please do not redistribute this tag withough express permission form ADAMARK Design.

Hope you get some use out of this.

Adam Stout - ADAMARK Design
Adam@adamarkdesign.com
http://www.adamarkdesign.com/

[ Download PHP_Counter ]


Purpose:
Script that can be called from anywhere on the server and will create a counter fill initialized to the number you specify.

Installation:
2. Create a directory in your root web directory called "counters" with 777 permissions.
3. Include counter.php in your web page.
4. Done.

Required Attributes:
None

Optional Attributes:
Display [Yes/No] -- Whether to print counter visibly or as a comment in the page (Default is Yes)

Usage:

Ex. 1
$display="Yes"; include("counter/counter.php");

Result: Prints 5000

Ex. 2
$display="No"; include("counter/counter.php");

Result: Prints <!-- This page has been viewed 5000 times. -->

Ex. 3
include("counter/counter.php");

Result: Prints <!-- This page has been viewed 5000 times. -->

HOME | WEB DESIGN | PORTFOLIO | CUSTOM TAGS | COMPANY INFO | CONTACT US

Copyright © 2001 • ADAMARK Design • All Rights Reserved