PHP counter
The sample PHP counter script will allow to trace the visitors on your site. The script
will work on your server without MySql support. It's just necessary to have PHP support on your server.
To install our counter script you just need to complete the following steps:
1. Download PHP counter
2. Extract the counter.php script from archive
3. Upload the counter.php on your server
4. Add the following html tags on your pages:
<script language="JavaScript">
ref = escape(document.referrer);
str = "<a target=_blank href=\"http://www.phpforge.net\"><img src = \"counter.php?ref=" + ref + "\"></a>";
document.write(str + "\n");
</script>
<noscript>
<a target=_blank href="http://www.phpforge.net"><img src = "counter.php"></a>
</noscript>
5. You also need to chmod the installation directory to 0755
To view your stats you should use the url like indicated bellow:
http://www.your-site-domain.com/counter.php?action=view
PHP Forge home
PHP Forge BookMarks:
SourceForge.net is the world's largest Open Source software development website
Mozilla.org - home of mozilla
IE Skin Tips and Tricks
Anti Spam Tips
Software Gratis - Spyware Removal Downloads
Internet Security Solutions
Open Source Web Development Tutorials
Copyright 2005 PHPForge.net! All rights reserved