NOTE: More information and troubleshooting can be found in the README.TXT file.
Instructions Install (using MySQL database or File database):
1. Edit counter.php file and modify settings to your desired settings.
2. Edit either mysql_config.php or filedb_config.php (depending on which you wish to use).
3. Upload all .php files (and image files if using graphical counter).
4. Place <?php include("/path/to/your/counter.php"); ?> in the html of all of your pages, where /path/to/your/ is the absolute path to counter.php. To discover this path, you can usually run the file abs.php that has been included with this counter. On most systems it will report your absolute path. Remember, absolute path must also be set within counter.php as well.
5. Visit the counter.php file in your browser.
NOTE: If using file databases, your counter will show up. If using mysql, your counter will first install, after which you can refresh the page and your counter will show up.
NOTE 2: Remember to delete the install folder, as it poses a threat to security.
Instructions for PHP-Nuke Install:
1. Upload /counter folder to php-nuke root folder (where php-nuke is installed).
2. Upload /extras/PHP-Nuke/blocks/block-EP-Dev_Counter.php to PHP-Nuke's /blocks/ folder.
3. Go into PHP-Nuke's Admin, click on blocks, and then add the block "EP-Dev Counter".
4. (optional) Edit counter.php
NOTE: Your counter will first install, after which you can refresh the page and your counter will show up.
|