From:             dave at bcs dot co dot nz
Operating system: Linux
PHP version:      4CVS-2003-03-08 (stable)
PHP Bug Type:     CGI related
Bug description:  POST variable names and values are garbled

Try the following, and keep pressing the button, noting the POST array
reported...

I get reults like:

Array ( [key+AAA-đcdÂ0eÂg°gÂPhÂ] => Press Me+AAA- ) 


Things work OK if either the '+' or '-' is not there.


<html>
 <body>

  <?php print_r($_POST) ; ?>

  <form method='post' action=''>
    <input type='submit' name='key' value='Press Me'/>+9-9
  </form>

 </body>
</html>

-- 
Edit bug report at http://bugs.php.net/?id=22612&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22612&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22612&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22612&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22612&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22612&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22612&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22612&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22612&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22612&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22612&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22612&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22612&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22612&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22612&r=gnused

Reply via email to