Hi, The setting of register globals will not affect the $_PHPA global. Register globals causes the elements such as those in GET and POST form requests, and server variables to be registered as globals, *in addition* to being available via their respective global arrays. So, for example, $_SERVER['SCRIPT_FILENAME'] would also be accessible as the global variable $SCRIPT_FILENAME. Setting register globals to off prevents that behaviour. It's a convenience feature, but can also be a problem because of the arbitrary variables that can be assigned, and in particular, a risk because a malicious user could submit a form with arbitrarily named elements that may cause code to malfunction. However, $_PHPA is registered as a global variable by PHPA, and is still available as the global $_PHPA or $GLOBALS['_PHPA'] Thanks for the post though! nick > And you should note that (I believe) PHP-4.2.1 has changed the default > value for register_global > directive to off, so depending in the setting in the setting, some > instructions such as the one > you wrote > > $GLOBALS['XXXXX'] > > might fail. > > About register_global: > > > http://php.imasd.elmundo.es/manual/en/configuration.php#ini.register-globals > > > Nick wrote: >> >> Tried it without no errors with previous Apache, >> then just jumped to the next thrill without checking it anymore.. my >> mistake...sorry for that. >> >> Nick Lindridge said: >> > The FAQ says that phpa is unsupported with apache 2. >> > >> > >> >> >> >> Hello, >> >> >> >> I decided to give i a try on PHP-4.2.1 and Apache-2.0.36 >> >> ( both compiled from source ) >> >> After I tested it with the test script: >> >> >> >> <? var_dump($GLOBALS['_PHPA']); ?> >> >> >> >> it only returns >> >> the word NULL on the page >> >> There's no error whatsoever on the apache log as well... >> >> >> >> Your help kindly appreciated. >> >> >> >> >> >> Thank you >> >> >> >> >> >> >> >> >> >> >> > ---------------------------------------------------------------------- >> -- >> >> www.php-accelerator.co.uk Home of the free PHP >> >> Accelerator >> >> >> >> To post, send email to phpa@xxxxxxxxxxxxx >> >> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject >> >> unsubscribe >> >> ----------------------------------------------- >> He's the fellow that people wonder what >> he does and why the company needs him, until he goes on vacation. >> >> comp.unix.admin FAQ >> >> ------------------------------------------------------------------------ >> www.php-accelerator.co.uk Home of the free PHP Accelerator >> >> To post, send email to phpa@xxxxxxxxxxxxx >> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject >> unsubscribe > > -- > Oscar Fernandez Sierra | Mundinteractivos - El Mundo | > Area de Internet | Pradillo, 42 | > oscar@xxxxxxxxxxxx | 28002 - Madrid (SPAIN, EU) | > http://www.elmundo.es/ | Tel: (+34) 915864800 (Ext: 4616) | > ------------------------------------------------------------------------ > www.php-accelerator.co.uk Home of the free PHP Accelerator > > To post, send email to phpa@xxxxxxxxxxxxx > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject > unsubscribe ------------------------------------------------------------------------ www.php-accelerator.co.uk Home of the free PHP Accelerator To post, send email to phpa@xxxxxxxxxxxxx To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe