What I'd like to do is get some of the information found when you do a 
telent on port 80 like this below..

telnet www.hostname.com 80
Trying www.hostname.com...
Connected to.www.hostname.com
Escape character is '^]'.

HTTP/1.1 200 OK
Date: Thu, 29 Aug 2002 17:00:09 GMT
Server: Apache/1.3.26 (Darwin) PHP/4.2.2
Connection: close
Content-Type: text/html

Really what I'm trying to find is the server message (404, 200, etc.) on 
a remote server from this line... 

HTTP/1.1 200 OK

Is there anyway to access this through php?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to