$_server and PHP 5

Discussion in 'PHP' started by askscript, Nov 15, 2011.

  1. #1
    Is $_server being deprecated in PHP 5?

    i am asking that because i am learning the basic of PHP now and i come to a topic of using the $_server['php_self'] in forms.

    I look at PHP manual and i am confused if it is being deprecated.
    http://sg.php.net/manual/en/reserved.variables.server.php

    Can anyone enlightened me? Thanks...
     
    askscript, Nov 15, 2011 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    No. $HTTP_SERVER_VARS is depreciated, and was replaced with the super global $_SERVER.
     
    jestep, Nov 16, 2011 IP