ID: 22663 Updated by: [EMAIL PROTECTED] Reported By: public at hverdag dot dk -Status: Open +Status: Bogus Bug Type: Variables related Operating System: Windows 2000 PHP Version: 4.3.1 New Comment:
Set register_globals=Off and this problem goes away. (it's coming from cookie) Previous Comments: ------------------------------------------------------------------------ [2003-03-12 14:26:11] public at hverdag dot dk CORRECTION: I was NOT using $ID as a session variable though. But if I do it gives strange and totally off error messages about different places in my script where the script is perfectly correct. ------------------------------------------------------------------------ [2003-03-12 13:09:01] public at hverdag dot dk Why on earth does the variable $ID contain the value 3 on a totally blank page where neither other script has been processed or session started???! This is not so big a problem in itself, but if I use $ID as a session variable it even overwrites this value - now, THIS is a problem! I cannot find any place where it says that one shouldn't use this variable name. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22663&edit=1