How to track website visitor’s IP address using PHP




(5.00 out of 5)



(5.00 out of 5)



(5.00 out of 5)



(5.00 out of 5)



(5.00 out of 5)



(5.00 out of 5)



(5.00 out of 5)




(1 votes)How to track website visitor’s IP address using PHP
Log in to answer.
Copyright © dBuggr LLC - All Rights Reserved.
smallwei 5:18 pm on November 22, 2009
You can using the following code to obtain visitor’s IP address.
Following the code you can output to a flat log file or insert into a database table.
$ip=$_SERVER['REMOTE_ADDR'];