#4174 [Opn->Bgs]: Bug when using ' as a value in a variable

From: Date: Mon, 30 Sep 2002 23:47:38 +0000
Subject: #4174 [Opn->Bgs]: Bug when using ' as a value in a variable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20827@lists.php.net to get a copy of this message
ID: 4174 Updated by: hholzgra@php.net Reported By: shr@dmi.dk -Status: Open +Status: Bogus Bug Type: Reproducible Crash Operating System: UNIX PHP Version: 3.0.16 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. 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 Thank you for your interest in PHP. check your magic_cookie settings in php.ini Previous Comments: ------------------------------------------------------------------------ [2000-04-18 06:26:57] shr@dmi.dk Earlier I've reported a bug on using the char ' as a value in a variable, now tested it on the php version 4.0b3, the problem persist to exist. I've tested with this little program: <FORM ACTION="test.php3" method="get"> <?php if ($bugger) echo "<INPUT type=\"hidden\" name=\"bugger\" value=\"$bugger\">\n"; else echo "<INPUT type=\"hidden\" name=\"bugger\" value=\"'\">\n"; ?> <INPUT type="submit" value=" ged "></FORM> <?php echo "Bugger=$bugger kode=".rawurlencode("$bugger"); ?> Just make a file named test.php3 with code above and run it. It should show the problem i detail. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4174&edit=1

« previous php.bugs (#20827) next »