ID: 20161 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: win2000 pro,win xp pro PHP Version: 4.2.3 New Comment:
In PHP 4.2.0, the 'register_globals' setting default changed to 'off'. See http://www.php.net/release_4_2_0.php for more info. We are sorry about the inconvenience, but this change was a necessary part of our efforts to make PHP scripting more secure and portable. Previous Comments: ------------------------------------------------------------------------ [2002-10-29 21:57:27] [EMAIL PROTECTED] the same script above is work well when i use php4.0.5 instead of php4.2.3 (others is fixed). ------------------------------------------------------------------------ [2002-10-29 21:53:52] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. turn on register_globals or use $_POST['test'] ------------------------------------------------------------------------ [2002-10-29 21:50:48] [EMAIL PROTECTED] I install php4.2.3,apache1.3.26,mysql3.23.51 in os windows2002 professional and windows xp professional. There is nothing error in my script .php document if i not use the form variable. But php can not read the form variable. Below is my test file£º <?php if (isset($submit)) { echo "Submit is=".$test; } echo "Test is=".$test; ?> <html> <head> </head> <body> <form name="frm" action="index.php" method="post" > <input type="text" name="test"> <input type="submit" name="submit" value="submit"> </form> </body> </html> when i type "PHP.net" in the text field,and click the button "submit",IE5.0(or IE 6.0)only print "Test is=", this indicate that the form variable can not read by php. BUT the soft phpmyadmin is work well using the form variable ,i can not differ from the two script between me and phpmyadmin's. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20161&edit=1