Page 1 of 1

Need help displaying Clicks on my webpage

Posted: Tue Nov 06, 2007 9:40 am
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?

Posted: Tue Nov 06, 2007 10:50 am
by Klemen
Post the URL of your script and page where you added that Javascript.

Posted: Tue Nov 06, 2007 4:53 pm
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

Posted: Tue Nov 06, 2007 6:09 pm
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.

Posted: Fri Nov 09, 2007 8:12 pm
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?

Posted: Sat Nov 10, 2007 11:14 am
by Klemen
Possible of course, but unfortunately out of the scope of my support.