Script URL: http://saobang.de/counter/gcount.php?page=test
Version of script: 131
Hosting company: wint.global
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: counter not displaying
Write your message below:
Hi there,
I was trying to set up this php script to work on my website. But as you can see from the above url, the counter is not displaying somehow. When I just do copy the direct link from the error message, I then will see the .gif picture.
can you help me to have it displayed?
thanks,
kmikc
gcount wont display on test url
Re: gcount wont display on test url
There are two problems with your test:
1. you have a wrong "$base_url" setting in your gcount.php file, it is missing "http://".
Change the line in the gcount.php file to say exactly:
2. what the counter prints is Javascript code, you need to include it in your web page to start showing correctly (see readme.htm file under "Using hit counter").
As per readme instructions, add this code to our HTML page:
If you are not familiar with inserting Javascript into HTML, you can use this simple trick:
http://www.phpjunkyard.com/tutorials/cut-paste-code.php
1. you have a wrong "$base_url" setting in your gcount.php file, it is missing "http://".
Change the line in the gcount.php file to say exactly:
Code: Select all
$base_url = 'http://saobang.de/counter/';
As per readme instructions, add this code to our HTML page:
Code: Select all
<script type="text/javascript" src="http://saobang.de/counter/gcount.php?page=test"><!--
//--></script>
http://www.phpjunkyard.com/tutorials/cut-paste-code.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: gcount wont display on test url
Hi there...
problem solved. Thanks!
problem solved. Thanks!