Depiction- Webmaster Resources
Stock Image

Contributors: SSD VPS in Europe  |  Park Shore Condos

Advertise Here  |  Advertise Here

Misc Links: Submit Tutorials (Earn $$) l Advertising l Privacy Policy | Site Map

Tutorials > PHP > IP Address


Display a visitor's IP address on your site.

With php, you can easily display the visitor's IP address on your site. (This will not show the IP address of other visitors, it will only display the IP address of the computer the page is being viewed on.)

<?php echo $_SERVER["REMOTE_ADDR"]; ?>

In action:




Heathrowe Photoshop Tutorials
Tutorial Man Wallpaper Stock  More