Depiction- Webmaster Resources
Stock Image


Contributors: SSD VPS in Europe  |  Buy RDP  |  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:

34.239.177.24

 


 
 

Affiliates

GuiStyles Photoshop Tutorials
Tutorial Man Wallpaper Stock  More

Resources