hit counter

All other scripts belong here
Post Reply
MIROX
Posts: 1
Joined: Tue Dec 12, 2023 5:43 am

hit counter

Post by MIROX »

Installed the hit counter, followed the instructions and get this
when running the test:
https://www.fmvss500.com/counter/gcount.php?page=test
I get this
document.write('<img src="https://www.fmvss500.com/counter/styles/web1/2.gif" border="0" />');
and next time I do it it increments by one
document.write('<img src="https://www.fmvss500.com/counter/styles/web1/3.gif" border="0" />');
have all the files and folders counter>logs, styles > web1 with the 10 gif images
But no numbers show on the web page where installed with this:
<script src="http://www.fmvss500.com/counter/gcount. ... yle=ledaqb">
</script><!-- Counter END -->
This is the web page:
https://fmvss500.com/index.html
Any ideas ???
I did change the gcount.php permission to 0666 was 0644 before but no change !

Tried both the web1 and http://www.fmvss500.com/counter/gcount. ... yle=ledaqb
Still no images of the numbers
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: hit counter

Post by Klemen »

The problem is your Javascript code calls http:// version on a secure site:

Code: Select all

<!-- Start Counter MRX -->
<div class="valid">
<script src="http://www.fmvss500.com/counter/gcount.php?page=home&amp;style=ledaqb">
</script><!-- Counter END -->
Change http tp https then reload the page:

Code: Select all

<!-- Start Counter MRX -->
<div class="valid">
<script src="https://www.fmvss500.com/counter/gcount.php?page=home&amp;style=ledaqb">
</script><!-- Counter END -->
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