<?PHP

$_SERVER['REMOTE_ADDR']; //find the current user's IP address

putenv("tmp=usr");  //set an value of environment variable

echo $_SERVER['tmp'];

?>