I found this excellent little app the other day that allows you to enter a server name and it returns the content header (or whatever it's called) from the server.
i.e enter Microsoft.com and it returns something like this:
Initiating server query ...
Looking up IP address for domain: microsoft.com
The IP address for the domain is: 207.46.134.222
HTTP/1.1 200 OK
Connection: close
etc, etc
I know how to write the form to do this, but how does one obtain this info in PHP?
I know how to obtain my own server variables like this, but geting someone elses is another story.
Thanks in advance