User IP - Simply display visitor IP Address on post or page with a shortcode.
There is a problem looking up IP addresses that are behind a proxy. The following update to the "display_user_ip" ensures that you get the correct IP address even if it is behind a proxy.
// shortcode [user_ip]
$user_ip = $_SERVER['REMOTE_ADDR'];
$proxy = $_SERVER["HTTP_X_FORWARDED_FOR"];
$user_ip = $_SERVER["HTTP_X_FORWARDED_FOR"];
You must log in to submit a review. You can also log in or register using the form near the top of this page.