Liquid Frog
FAQ's
Graphic Hit Counter
ANSWERS
  1. What is PHP Graphical Hit Counter
    PHP Graphical Hit Counter is a small script written in PHP that will count the number of hits to your website. It will provide the number of hits in the form of small images.
    [Back to top]
  2. What are the requirements for PHP Graphical Hit Counter
    PHP Graphical Hit Counter requires PHP to be installed on your server. That's all.
    [Back to top]
  3. How do I set up PHP Graphical Hit Counter
    Installing the graphical hit counter is very easy.

    (1) Unzip the distribution file to your local PC

    (2) Using Notepad or something similar, find the file called config.php and edit the file to best suit your needs. Once done, save the file.

    (3) Upload the directories and files to your web server making sure the directory structure remains intact.

    (4) Chmod the directory "count" to 777.

    (5) Include the file on the page where you want the counter to appear.

    Full instructions are included with the scripts readme file.

    [Back to top]
  4. The counter doesn't count on my HTML pages
    This script only works on php pages. It is entirely possible that you can change the extension of your page from html to php by simply renaming the file so the script works. E.g. Say your index page is called index.html and you have included the script on that page. Just rename the file index.php and both your page and the script should work. If there are any problems you can just rename the page back to html again
    [Back to top]
  5. I get error messages when I use the script
    The first time you run this script you will probably get the errors (or similar) below:

    Warning: fopen(count.txt) [function.fopen]: failed to create stream: No such file or directory in /home/httpd/vhosts/yoursite.com/httpdocs/count/LFgraphiccounter.php on line 26

    Warning: fread(): supplied argument is not a valid stream resource in /home/httpd/vhosts/yoursite.com/httpdocs/count/LFgraphiccounter.php on line 27

    Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/yoursite.com/httpdocs/count/LFgraphiccounter.php on line 29

    This is normal and is because the script needs to create a file called count.txt before it will begin counting. This error should disappear when you refresh the page and the script will work normally.

    If this doesn't work and the script is unable to create the count.txt file, simply create your own blank count.txt file in notepad and upload it to http://www.yoursite.com/count.


    [Back to top]
  6. I get an open_basedir restriction in effect error message
    If you receive this error message (or something similar that talks about open_basedir restrictions in effect):

    Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php4/php/language/lang-.php) is not within the allowed path(s): (/home/http/vhost/yourdomain.com/httpdocs)

    Then your hosts have set some restrictions on your server. Most hosts will be happy to turn off this restriction to allow the script to run. Contact your hosts, inform them of the error message you are receiving and request that they remove open basedir restrictions.

    [Back to top]
  7. The counter doesn't increment
    If the counter doesn't increment then you have set your count directory permissions to 755. You must chmod it to 777 instead.
    [Back to top]
  8. How do I use my own graphics
    If you wish to use different graphics this is easy to achieve. Either copy the .gif files you want to use to the images/default directory or rename the directory your .gif files are in to default.
    [Back to top]
  9. How can I remove the link to Liquid Frog from the script
    This is a free script, as such it generates no income for us. In addition, we have to bear the costs associated with download of the script in terms of bandwidth and ongoing development and all our free scripts are very popular with our site visitors meaning a lot of bandwidth!

    We use the link included with the script to generate traffic to this site in the hope that people will purchase one of our paid for scripts or some of our software. Whilst we would love to give away our scripts and not have a link, economic realities dictate otherwise. We give you the script for free - you return that by sending us traffic, we consider this a fair exchange. If the link spoils the look of your site or you really don't want the link, you can pay a small fee to have it removed. We charge just $7.99 for removal of the link and you can find instructions on how to do this in the Readme.htm file that comes with the script.

    [Back to top]
  10. Can I suggest a way to improve this script
    Yes of course. We actively encourage users of our software and scripts to suggest improvements so that they can be developed still further. To make a suggestion please use the contact form on the site and send your comments to feedback.
    [Back to top]
  11. My question wasn't answered in these Faq's. What now
    Even though we do not provide support for our free scripts, if you have a problem that doesn't appear in these Faq's, you may email support.

    Please include as much detail as possible about the problem and try to indicate under what circumstances the problem occurs. Please also tell us as much about your server as you can such as the version of PHP and MySQL it is running etc.

    We want to provide as much help as possible to end users via these Faq's and, if your problem is not already listed you could also help others as well as yourself by requesting support.

    Any replies we make to your problem will be mailed directly to you and included in these Faq's for others

    [Back to top]
Jump to:
Powered by ODFaq v2.1.0