Posted By

mantosz on 08/01/11


Tagged

ip


Versions (?)

Get Visitor IP


 / Published in: PHP
 

  1. $ip = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];

Report this snippet  

You need to login to post a comment.