Forum Moderators: coopster

Message Too Old, No Replies

Retrieve Headers

         

Johnny Bravo

3:19 pm on Jun 30, 2005 (gmt 0)

10+ Year Member



Hi all,
First Post here :)

I have a small project im working on, and was wondering how i could retrieve the headers sent from a remote server. If i was to do this locally i could get the information i need with $_SERVER["SERVER_SOFTWARE"]; but I would like to be able to retrieve the same information from a remote server.
Any Idea's?

Thanks in advance :)

jatar_k

4:25 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Johnny Bravo,

what part of that information is it that you need? I don't know off the top of my head a good method to get it.

Johnny Bravo

4:52 pm on Jun 30, 2005 (gmt 0)

10+ Year Member



Hey thanks for the welcome :)

Basically I would to pull info similar to this from a website

Apache/1.3.33 Unix mod_jk/1.2.5 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2634a mod_ssl/2.8.22 OpenSSL/0.9.7e

Plus the operating system

coopster

11:07 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



AS far as the OS goes, here is what netcraft does:

[uptime.netcraft.com...]