PHP - how to get headers of an HTTPS page?

bizbez

Registered Member
Joined
Jan 26, 2011
Messages
86
Reaction score
3
hi,

i'd like to check the server headers (200/404/502) of an HTTPS page.

how do i do that in PHP?

the function get-headers doesn't support HTTPS.


thanks guys!
 
that defeats the whole purpose of ssl, bro. ALL information (including header information) is encrypted. the only thing not encrypted is stuff related to SSL setup and key exchange (which is done very carefully as to thwart eavesdroppers.)

hope this was helpful.
 
You can't. The main purpose of ssl is after all security. No system has ever been completely immune to attacks and thanks to factors such as exploitdb leaving such information exposed is a bit of an issue.
 
Back
Top