#23289 [Opn->Bgs]: variables from form doest not works

From: Date: Mon, 21 Apr 2003 00:32:07 +0000
Subject: #23289 [Opn->Bgs]: variables from form doest not works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37931@lists.php.net to get a copy of this message
ID: 23289 Updated by: edink@php.net Reported By: alexeytarasov at mail dot primorye dot ru -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Win2000/WinXP PHP Version: 4.3.1 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: ------------------------------------------------------------------------ [2003-04-20 19:28:17] alexeytarasov at mail dot primorye dot ru IIS 5 variables from form don't pass when I launch this code <? if (!@$name):?> <form name="form1" method="post" action="test.php"> Name<br> <input name="name" type="text" id="name"><br> <input type="submit" name="Submit" value="Submit"> </form> <? die; endif; echo "it works!"; ?> Message "it works!" never appears, because variable $name will never be defined, whatever I did. This problem appears in PHP 4.2 and PHP 4.3, but not in PHP 4.1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23289&edit=1

« previous php.bugs (#37931) next »