Tuesday, September 11, 2007

Logging IP address of your website visitors!

If you own an website and want to record the Internet Protocol(IP) address of your visitors that reach your site,then there are not many options that you can use.Javascript will be of no use because of the fact that it is an client side scripting language neither do HTML serve the purpose.You can ask your Provider for the stats required.but most of them do not share this information publicly.So there is an solution that allows you to log the IP address of the visitors usning the PHP scripting language.Just use the script

$_SERVER["REMOTE_ADDRESS"]

in your Webpage script and it will automatically log the IP address of your visitors!

Labels: , , ,

0 Comments:

Post a Comment

<< Home

ss_blog_claim=23c66b64da5471a2b2f9019eaa57c82d