I'm trying to create a basic "what is that server running" script, where I can input an IP or domain name, and get some simple info back - such as if it's running on Apache or Windows, and what the date on the server is..etc. Is it possible to use an IP and something like $_SERVER['SERVER_SOFTWARE'] to detect what another server is running?
I would start by looking at the header: $info = get_headers("http://forums.digitalpoint.com"); print_r($info); PHP: