ID: 22169
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: IIS related
Operating System: Win 2k pro
PHP Version: 4.3.0
New Comment:
There are times when submit buttons don't pass values. I always forget
the exact circumstances so rarely rely on them but anyway, assuming
this is a post form, do:
var_dump(array('p' => $_POST, 'r' => ini_get('register_globals')));
Of course, use $_GET for GET.
Previous Comments:
------------------------------------------------------------------------
[2003-02-11 10:37:59] [EMAIL PROTECTED]
YES, register_globals is On!
------------------------------------------------------------------------
[2003-02-11 10:20:26] [EMAIL PROTECTED]
run phpinfo() to make sure your register_globals (I assume that is the
option you are referring to) is enabled.
------------------------------------------------------------------------
[2003-02-11 10:10:55] [EMAIL PROTECTED]
I read all your posts about the "Undefined variable" and I changed the
php.ini global variable to On, but I still have that message when I
want to referance a $submit variable!!!
Message is :
Notice: Undefined variable: submit in "..." on line 4
I tested it with php3 and php4 --->same thing
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22169&edit=1