PHP demo
The code is server side.
You cannot "View Source" to see the code.
We show snippets and hints of the code used.
Data | PHP code to get data | Value |
Client IP | $_SERVER['REMOTE_ADDR'] | 3.145.155.58 |
Client hostname | $_SERVER['REMOTE_HOST'] | |
Client hostname | gethostbyaddr | ec2-3-145-155-58.us-east-2.compute.amazonaws.com |
Original IP | $_SERVER['HTTP_X_FORWARDED_FOR'] | |
Client browser | $_SERVER['HTTP_USER_AGENT'] | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
Referring page | $_SERVER['HTTP_REFERER'] | |
Server IP | $_SERVER['SERVER_ADDR'] | 78.128.60.189 |
Server name | $_SERVER['SERVER_NAME'] | humphryscomputing.com |
Server software | $_SERVER['SERVER_SOFTWARE'] | Apache |
Server OS | PHP_OS | Linux |