Page 1 of 1

Link ID 10 displays as ID 1

Posted: Mon Sep 16, 2013 10:30 pm
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.

Re: Link ID 10 displays as ID 1

Posted: Tue Sep 17, 2013 7:34 am
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

Re: Link ID 10 displays as ID 1

Posted: Tue Sep 17, 2013 4:47 pm
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.