Re: [PHP] global AND Register Globals with PHP 4.0.6 ??

2002-10-14 Thread Sascha Cunz
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-in

RE: [PHP] global AND Register Globals with PHP 4.0.6 ??

2002-10-14 Thread Negretti, John (CCI-San Diego)
(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 $HTTP_GET_VARS and $HTTP_COOKIE_VARS arrays within a function. In order to do

RE: [PHP] global AND Register Globals with PHP 4.0.6 ??

2002-10-14 Thread Johnson, Kirk
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 global