ID: 22169 Comment by: DontGiveOut at BecauseOfBots dot com Reported By: jjeca at hotmail dot com Status: No Feedback Bug Type: IIS related Operating System: Win 2k pro PHP Version: 4.3.0 New Comment:
I am attempting to port an existing app from php 4.2.2 linux (apache) to Windows XP (iis 5.1) php 4.3.2 -> I do have register globals turned on but I am still getting the Underfined variable messages on any session vars. Any one else encounter this problem? Thanks! Previous Comments: ------------------------------------------------------------------------ [2003-02-20 08:17:35] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-11 10:48:49] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2003-02-11 10:37:59] jjeca at hotmail dot com 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] jjeca at hotmail dot com 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