facebook twitter youtube
in PHP - 04 Apr, 2014, This Tutorial Has Been Viewed 6,114 Times.
by admin - no comments
How to get the IP address of the visitor with PHP?
VN:F [1.9.22_1171]
Rating: 4.7/10 (3 votes cast)

This is a very simple script to get the IP address of your visitor using php

< ?php  
   $ip = $_SERVER['REMOTE_ADDR']; 
  echo "Your IP address is ".$ip; 
?>  
VN:F [1.9.22_1171]
Rating: 4.7/10 (3 votes cast)
How to get the IP address of the visitor with PHP?, 4.7 out of 10 based on 3 ratings


coded by nessus

Leave a Reply

Close
Please support the site
By clicking any of these buttons you help our site to get better