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]
register_globals=off question
Collapse
This topic is closed.
X
X
-
Guest replied -
Guest repliedRe: 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:
-
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
Tags: None
Leave a comment: