PHP 4.0 Bug #8936: Script containing characters with code >128 don't get POSTed variables

From: Date: Fri, 26 Jan 2001 14:50:42 +0000
Subject: PHP 4.0 Bug #8936: Script containing characters with code >128 don't get POSTed variables
Groups: php.dev 
Request: Send a blank email to php-dev+get-45027@lists.php.net to get a copy of this message
From: ray@vardes.lv Operating system: Debian Linux (Potato) PHP version: 4.0.3pl1 PHP Bug Type: Scripting Engine problem Bug description: Script containing characters with code &gt;128 don't get POSTed variables If script which get variables from POST form contain combination of characters with code > 128 (national characters), then this script don't get POSTed variables. 1. Not all character combinations cause problem Known combination: 199 208 2. GET form don't have such problem 3. Tested with 4.0.0b1 & 4.0.3pl1 --8<---- Form ------------------- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"> </head> <form method="post" action="result.php" name="search"> <input type="text" name="theme" size="8" maxlength="8" class="ffield"> <input type="submit" name="Submit" value="Go" class="pushbtn"> </form> </body> </html> --8<---- Reciving script(result.php) ------------------- <?PHP echo gettype($theme).' o '.$theme; ?> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr align="center" bgcolor="#FF9900"> <td class="title">XXXÇÐXXX</td> </tr> </table> </body> </html> --8<----------------------- Check if string: <td class="title">XXXÇÐXXX</td> contains characters with code 199 208 between XXX -- Edit Bug report at: http://bugs.php.net/?id=8936&edit=1

« previous php.dev (#45027) next »