register_globals() adds a variable to the *session*. The global statement
brings a global variable into the *scope* of a function.
Kirk
> What is the difference?
> > > variable. I read that "register globals" has some security
> > issues. Are
> > > these the same, or is setting a variable as
> To: Negretti, John (CCI-San Diego); [EMAIL PROTECTED]
> Subject: Re: [PHP] "global" AND Register Globals with PHP 4.0.6 ??
>
>
> Am Montag, 14. Oktober 2002 16:51 schrieb Negretti, John
> (CCI-San Diego):
> > Hello,
> >
> > I need to access the &qu
Am Montag, 14. Oktober 2002 16:51 schrieb Negretti, John (CCI-San Diego):
> Hello,
>
> I need to access the "$HTTP_GET_VARS" and "$HTTP_COOKIE_VARS" arrays
> within a function. In order to do this I have to pass $HTTP_GET_VARS as a
> parameter of the function. How can I access these built-
3 matches
Mail list logo