PHPCounter FAQ

Below is a list of frequently asked questions regarding PHPCounter. Read them if you get stuck.

  • Is there a demo?
    Of course! eKstreme.com is a demo in its own right. The counter you see at the bottom is PHPCounter in action!

  • Which pages will PHPCounter track? Will PHPCounter track frames?
    PHPCounter will track any PHP page that has the require statement inserted. Since frames are several pages displayed concurrently, PHPCounter can track any of these pages.

  • PHPCounter is not tracking my web page! What is wrong?
    This can be due to any of several reasons. If you are getting an error message, see below. Otherwise try the following:
    • Make sure the page is a PHP page. Usually it would have a .php extension or .php3 or .phtml.
    • If you are tracking a PHP page, then make sure that require statement is being executed - i.e., it is surrounded by the <?php and ?> inside the PHP code.
    • Does your webhost support PHP?
    • Is the path specified in the require statement correct? Check the information.php page.

  • What is CHMOD?
    Without going into too much detail, on some systems, such as webservers, scripts are not allowed to run by default, and scripts are not allowed to create, change, or modify files or directories by default. As a webmaster, you have to explicitly allow such kind of access, and CHMOD is what you use to change these settings. The CHMOD function can be done using the command line (if you have such access to your webspace), but more easily, using your FTP client. Most good FTP programs have such a feature, and it is usually found using the context menus (right click menu). If you want a good FTP program, have a look at the freeware page.

  • I have .htm or .html files. Can PHPCounter track them?
    In most cases, YES! The only requirements are that your server is Apache and it supports PHP. If so, then do the following:
    • Create a file called htaccess.txt
    • Open the file in a text editor and type in the following:
      AddType application/x-httpd-php .html .htm
      addhandler application/x-httpd-php .html .php
    • Save the file
    • Upload the file to your website's root directory on your server. For example, suppose that your website is http://ekstreme.com. Which directory does ekstreme.com/index.php reside in? That's the root directory for the website.
    • Rename the file to .htaccess. Note that it may disappear from the list in some FTP programs.
    • That's it. It should be working! If not, contact your server admin - not me. I cannot help you as much as your server's admins.


Back to the PHPCounter home page.

Leave a Reply

 

Site Navigation

Popular Pages

The most popular pages on eKstreme.com.

Search

Subscribe

Subscribe to RSS 2.0 feed

Community

 
thermodelly