register_globals = Off and $DOCUMENT_ROOT

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthias Pospiech

    register_globals = Off and $DOCUMENT_ROOT

    I need to access $DOCUMENT_ROOT
    together with the option register_global s = Off

    How can I acces the content of $DOCUMENT_ROOT with another
    variable since it is empty with register_global s = Off ??

    Which other variables are changed with this setting as well ?

    Matthias
  • Alvaro G Vicario

    #2
    Re: register_global s = Off and $DOCUMENT_ROOT

    *** Matthias Pospiech wrote/escribió (Fri, 07 Jan 2005 10:18:11 +0100):[color=blue]
    > How can I acces the content of $DOCUMENT_ROOT with another
    > variable since it is empty with register_global s = Off ??[/color]

    $_SERVER['DOCUMENT_ROOT']
    [color=blue]
    > Which other variables are changed with this setting as well ?[/color]

    All variables except those defined by you in current script: form
    variables, cookies, sessions...


    --
    -- Álvaro G. Vicario - Burgos, Spain
    -- Thank you for not e-mailing me your questions
    --

    Comment

    Working...