Are you new? Read the FAQ and catch up on!
520 views

Get the user IP in PHP

PHP
  1. $ip = $_SERVER['REMOTE_ADDR']; // gets the ip address and stores it in $ip.
  2.  

­

Tags: PHP ip

Embed: