Count not shown on html page
Count not shown on html page
Script URL: http:///www.facilitytalents.nl/clickcount/klik.html
Version of script: 1.1
Version of PHP: ??
Hosting company: http://www.qball.nl
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: Read the all
Write your message below:
Everything is working fine except the show the count link on a page.
Test page looks like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>klik</TITLE>
<META NAME="Author" CONTENT="© 2001 by Amazing Prosites">
<META NAME="Generator" CONTENT="NetObjects Fusion 5.0.2 for Windows">
<script language="Javascript" src="http://www.facilitytalents.nl/clickcount/display.php">
<!--
//-->
</script>
</HEAD>
<BODY>
Banner had been clicked <script language="Javascript">ccount_display('1')</script> times
</BODY>
</HTML>
The page that uses the count script is on
http://www.facilitytalents.nl/concept/index.html
Greetings
Adri
Version of script: 1.1
Version of PHP: ??
Hosting company: http://www.qball.nl
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: Read the all
Write your message below:
Everything is working fine except the show the count link on a page.
Test page looks like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>klik</TITLE>
<META NAME="Author" CONTENT="© 2001 by Amazing Prosites">
<META NAME="Generator" CONTENT="NetObjects Fusion 5.0.2 for Windows">
<script language="Javascript" src="http://www.facilitytalents.nl/clickcount/display.php">
<!--
//-->
</script>
</HEAD>
<BODY>
Banner had been clicked <script language="Javascript">ccount_display('1')</script> times
</BODY>
</HTML>
The page that uses the count script is on
http://www.facilitytalents.nl/concept/index.html
Greetings
Adri
Hi,
Have you been manually editing the clicks.txt file? Seems like you have an empty line at the top of the file which creates an empty variable in the Javascript code.
Try deleting the clicks.txt file, uploading an empty one and try again.
Regards
Have you been manually editing the clicks.txt file? Seems like you have an empty line at the top of the file which creates an empty variable in the Javascript code.
Try deleting the clicks.txt file, uploading an empty one and try again.
Regards
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
You are missing this code in your HEAD (between <head> and </head> tags):
<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>
Regards
<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>
Regards
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
Total downloads are visible, but they have gone NUTS!
I downloaded everything and uploaded it to my site, and I adjusted all of my download links with the proper code. I refreshed my page and was stunned to see that everything had been hit, a few of them in the thirties!
I tried it myself, but it didn't increase after I clicked on it. Do you mind taking a look and seeing what I did wrong?
Thanks!

I tried it myself, but it didn't increase after I clicked on it. Do you mind taking a look and seeing what I did wrong?
Thanks!


Hi,
There is no link with ID 1 in your clicks.txt file and also shouldn't show up in the admin panel? You should check that.
There is no link with ID 1 in your clicks.txt file and also shouldn't show up in the admin panel? You should check that.
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
From clicks.txt:
1%%2005/11/28%%http://www.reaganator.com/downloads/Lep - fancy.abr%%6%%PS - Fancy
From admin.php:
1 6 2005/11/28 PS - Fancy
But I'm still confused as to why the counter isn't counting my files.
1%%2005/11/28%%http://www.reaganator.com/downloads/Lep - fancy.abr%%6%%PS - Fancy
From admin.php:
1 6 2005/11/28 PS - Fancy
But I'm still confused as to why the counter isn't counting my files.
