register_globals=off question

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

  • Chung Leong
    Guest replied
    Re: register_global s=off question

    Do an extract($_SERVE R); at the beginning of your script.

    Uzytkownik "Kenton Smith" <smithk1@shaw.c a> napisal w wiadomosci
    news:MkXYb.5420 91$JQ1.329243@p d7tw1no...[color=blue]
    > With register_global s=off, is there anyway to use the $HTTP_USER_AGEN T and
    > $REMOTE_ADDR variables?
    >
    > I would like to log those variables when people visit my site.
    >
    > Thanks
    >
    >
    >[/color]


    Leave a comment:


  • Cameron
    Guest replied
    Re: register_global s=off question

    Kenton Smith wrote:[color=blue]
    > With register_global s=off, is there anyway to use the $HTTP_USER_AGEN T and
    > $REMOTE_ADDR variables?
    >
    > I would like to log those variables when people visit my site.
    >
    > Thanks
    >
    >
    >[/color]

    use $_SERVER['HTTP_USER_AGEN T'] and $_SERVER['REMOTE_ADDR']


    ~Cameron

    Leave a comment:


  • Kenton Smith
    Guest started a topic register_globals=off question

    register_globals=off question

    With register_global s=off, is there anyway to use the $HTTP_USER_AGEN T and
    $REMOTE_ADDR variables?

    I would like to log those variables when people visit my site.

    Thanks



Working...