Note concerning dynamic IP URL

Post your Click counter digestion problems here
Post Reply
wootletootle
Posts: 2
Joined: Mon Mar 31, 2008 9:44 am

Note concerning dynamic IP URL

Post by wootletootle »

First, thank you Klemen for the ccount script.

I host my own web page with a dynamic IP in conjunction
with a dynamic DNS service (www.no-ip.com). I set

http://<DNS supplied address>/<file>

which ccount translates as

http://localhost/ccount/click.php?id=nn

whereas what it should be is

http://<DNS supplied address>/ccount/click.php?id=nn

No big problem, I just thought I'd mention it.
Cheers.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

It will use the click.php address which you set in the settings.php file for $settings['click_url']. You probably have localhost there, that's why it generates a localhost address.
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
wootletootle
Posts: 2
Joined: Mon Mar 31, 2008 9:44 am

Post by wootletootle »

Thanks, you were right!

May I ask, though, whether this address is used for other
purposes (ie other than informative)? because the
<DNS supplied address>/ccount/click.php will not be
recognized internally (ie on my local machine),
whereas /localhost/ccount/click.php will be resolved.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It's just used to generate the tracking URL address, nothing else.
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