Depiction- Webmaster Resources
Stock Image


Contributors: Advertise Here  |  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:

3.238.82.77

 


 
 

Affiliates

New Tutorials Photoshop Tutorials
Tutorial Man Wallpaper Stock  More

Resources