<?PHP

getenv("REMOTE_ADDR"); //fetch the current user's IP address

putenv("tmp=usr"); //set the user's value for environment variable

getenv("tmp");

?>