Page 1 of 1

Note concerning dynamic IP URL

Posted: Mon Mar 31, 2008 10:02 am
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.

Posted: Mon Mar 31, 2008 6:32 pm
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.

Posted: Mon Mar 31, 2008 7:02 pm
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.

Posted: Mon Mar 31, 2008 7:34 pm
by Klemen
It's just used to generate the tracking URL address, nothing else.