|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-07 15:43 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 18:00:01 2025 UTC |
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