Get visitor ip

Views: 3 Last modified: August 03rd, 2011 Comments: 0

This snippet will show the visitors IP address. It does not check if the visitor if on your website using proxy or whatever.

echo $_SERVER['REMOTE_ADDR'];
VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
    Bluehost

    Mail this!

    To: From:Sum {0+2} =  
    Anything to add ?

        You must be logged in to post a comment.