Link ID 10 displays as ID 1

Post your Click counter digestion problems here
Post Reply
tomnobles
Posts: 2
Joined: Mon Sep 16, 2013 10:15 pm

Link ID 10 displays as ID 1

Post by tomnobles »

Script URL: http://www.tomnobles.com/php/LinkCounter/index.php
Version of script: 1.2
Hosting company: HostGator
URL of phpinfo.php: Accessed via Control Panel
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: Link ID

Write your message below: I used admin panel to add a new link (looks similar to others) but I get link ID 1 when clicking it. The link ID is 10, if that makes any difference.

clicks.txt shows;
10%%2013/09/16%%http://www.tomnobles.com/ccr/scenarios/ ... 0%%Tunisia

id.txt shows; 10

I'm lost. I don't know what I'm doing wrong.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Link ID 10 displays as ID 1

Post by Klemen »

The "id=1" links is just an example, you need to use the actual link ID to count clicks.

So in your case the correct link to use would be:
http://www.tomnobles.com/php/LinkCounter/click.php?id=10
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
tomnobles
Posts: 2
Joined: Mon Sep 16, 2013 10:15 pm

Re: Link ID 10 displays as ID 1

Post by tomnobles »

How embarrassing, I had a typo which I overlooked several times. Anyway after three years, it still works as advertised. Thanks for your quick reply and sorry for the false alarm.
Post Reply