php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8936 Script containing characters with code >128 don't get POSTed variables
Submitted: 2001-01-26 09:50 UTC Modified: 2001-06-07 15:43 UTC
From: ray at vardes dot lv Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: Debian Linux (Potato)
Private report: No CVE-ID: None
 [2001-01-26 09:50 UTC] ray at vardes dot lv
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-07 15:43 UTC] sniper@php.net
I can not reproduce this. Please try more recent version
of PHP. e.g. PHP 4.0.5 or the latest release candidate
of 4.0.6:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

--Jan?

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 18:01:27 2025 UTC