PHP Get Environment Variables Examples. Description: Displays information about the users computer who is visiting your webpage. IP Address and Web Browser Information, etc. Examples: Instructions: Copy and paste the following code into your webpage where you like it to appear. Your IP address is $IPYou Came from: $refer"; ?>