>I am new to PHP and need some help.
>I was wondering if there is a way to get hold of the IP address of a site
>visitor with PHP. I'm trying to develop an interaction where the server
>would recognise a new visitor from a returning visitor via the IP address.
IP address is useless for identifica
Despite all downfalls of using IP addresses,
if you are in North America most people
in a University or business environment use
a fast connection (DSL or Cable) you may
choose to use the following chunk of code to
retrieve someone's IP number
if (getenv(HTTP_X_FORWARDED_FOR)){
$ip=getenv(HTTP
Here is a function a found on php.net that turns the IP.
Everything that Justin said is true too. If they have a dial-up user or are
behind a proxy server you can't track them.
Also if you are saving this to a database table it will get very big fast,
just like Justin said. I would create a ta
3 matches
Mail list logo