Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:
Write your message below:
Hi the count work on very well excetp the display i had tryed all possible. Install one and reinstall a lot of. I read all topics about the same problema. Edited clicks.txt the mine is empty ( not possible problem ) ....uploaded into binary mode ( images) and ascci mode the rest ( all is ok not probleam possible ) then.....i am lost about this....the countes count very well in the admin control panel. What is my possible problem.
I had uploaded a little page with the code into.
http://lonpad.iespana.es/pru.htm as example of the code.
If u can tell me the problem i will be more greet. Thanks
problema display ccount
Hi,
The problem is that your hosting company automatically adds advertising code to every page. Your display.php prints this code:
<script language="Javascript" type="text/javascript">
<!--
rnd=Math.floor(Math.random()*1000); var b=(''+location.hostname).split('.'); h='web.'+b[b.length-2]+'.'+b[b.length-1]; document.write('<sc'+'ript src="http://'+h+'/perso/js.php?'+rnd+'"><'+'/sc'+'ript>');
// -->
</script>
var ccount_link = new Array();
ccount_link[3]=1;
function ccount_display(id)
{
document.write(ccount_link[id]);
}
<script language="javascript" type="text/javascript">
<!--
document.write('<sc'+'ript src="http://'+h+'/perso/js2.php"><'+'/sc'+'ript>');
// -->
</script>
Everything that is bold is NOT code from display.php, this is what your hosting company automatically adds to all pages. And this code is breaking up the display.php Javascript code.
That's why it won't work on your server. Find a server which supports PHP and doesn't add its own code.
Regards
The problem is that your hosting company automatically adds advertising code to every page. Your display.php prints this code:
<script language="Javascript" type="text/javascript">
<!--
rnd=Math.floor(Math.random()*1000); var b=(''+location.hostname).split('.'); h='web.'+b[b.length-2]+'.'+b[b.length-1]; document.write('<sc'+'ript src="http://'+h+'/perso/js.php?'+rnd+'"><'+'/sc'+'ript>');
// -->
</script>
var ccount_link = new Array();
ccount_link[3]=1;
function ccount_display(id)
{
document.write(ccount_link[id]);
}
<script language="javascript" type="text/javascript">
<!--
document.write('<sc'+'ript src="http://'+h+'/perso/js2.php"><'+'/sc'+'ript>');
// -->
</script>
Everything that is bold is NOT code from display.php, this is what your hosting company automatically adds to all pages. And this code is breaking up the display.php Javascript code.
That's why it won't work on your server. Find a server which supports PHP and doesn't add its own code.
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
is there no solution without change server?
Thanks for the reply, i like very much your script, its works so good, and if is would be possible i will like to use.
Is there any possible solution, any code or some else?
Thank you again
Is there any possible solution, any code or some else?
Thank you again
Find a server which supports PHP and doesn't add its own code (ads). Some suggestions are here:
http://www.phpjunkyard.com/hosting.php
http://www.phpjunkyard.com/hosting.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