PHP $_Server info?

Discussion in 'PHP' started by Weirfire, Mar 29, 2005.

  1. #1
    Weirfire, Mar 29, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    $_SERVER['REQUEST_URI'] is the closest thing I know of off the top of my head (includes everything except the host).

    You could use $_SERVER['HTTP_HOST'] for that if you want.
     
    digitalpoint, Mar 29, 2005 IP
  3. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sadcox66, Mar 29, 2005 IP
  4. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Thank you both!

    :)

    It's working now.
     
    Weirfire, Mar 29, 2005 IP