Need help displaying Clicks on my webpage

Post your Click counter digestion problems here
Post Reply
azn2k7
Posts: 3
Joined: Tue Nov 06, 2007 9:15 am

Need help displaying Clicks on my webpage

Post by azn2k7 »

Script URL:
Version of script:
Hosting company: hostgator.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
The script works perfectly but I was wondering how I could display the clicks on my webpage so that other people can see the clicks.

I tried adding:
<script language="Javascript" src="http://mydomain.com/ccounter/display.php">
<script language="Javascript">ccount_display('1')</script>
but it doesnt seem to work, any advice?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Post the URL of your script and page where you added that Javascript.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
azn2k7
Posts: 3
Joined: Tue Nov 06, 2007 9:15 am

Post by azn2k7 »

The URL of my script is 74.54.41.82/~jle/albert/ccounter
The Page where I added the javascript is 74.54.41.82/~jle/albert/blah1.html
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You seem to have some empty lines in the clicks.txt file. Try this:

1. make sure you have display.php from version 1.2 (in case you had version 1.1 before upload display.php again)

2. open clicks.txt in a plain text editor and remove any empty lines from it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
azn2k7
Posts: 3
Joined: Tue Nov 06, 2007 9:15 am

Post by azn2k7 »

Deleting the extra lines worked, Thanks. I'm wondering if its possible to add some functions in display.php for displaying others things than number of clicks like Date Added, Filename, or Description?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Possible of course, but unfortunately out of the scope of my support.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Post Reply