PHP - how to get headers of an HTTPS page?

Discussion in 'PHP' started by datrader, Jul 9, 2012.

  1. #1
    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!
     
    datrader, Jul 9, 2012 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175