Here's a perplexing question for you:
I develop with PHP 4.2.2 with Apache 1.3.26 on a Redhat 7.3 box, which, by and large, behaves itself. It's a pretty vanilla install.
Anyhow, I recently started resurrecting and revivifying one of my older projects -- code cleanup, incorporating some of my newer functions, etc. -- only to find a bit of strange behaviour; to wit, register_globals, which is 'on' in my php.ini (and behaves accordingly in all my other projects) seems to be 'off' for this single project/directory. That is, in any of my other projects, if I compare ($foo == $POST['foo']), that condition is true; however, in this given (misbehaving) project, while $POST['foo'] will contain the desired value, $foo will be empty.
Does anyone know why this single project -- which is in its own directory, as all of my projects are (e.g., I have '/web/foo/', '/web/bar/', etc.) -- would act as though register_globals was 'off'? I've grepped through both my php.ini and all of my apache configuration files, and found nothing that names this directory.