From:             [EMAIL PROTECTED]
Operating system: win2000, IIS 5.0
PHP version:      4.2.0
PHP Bug Type:     IIS related
Bug description:  POST cutting names

Using the POST method cause cutting the first character 
from the name of the form control. Using the GET method works as expected
(no cutting).

example:
<FORM METHOD=POST ACTION="debug.php">
<INPUT TYPE="submit" NAME="action" VALUE="val">
</FORM>

gives result:
    [_POST] => Array
        (
            [ction] => val
        )

quick-fix:
just prefix all NAMEs with any char 
(NAME="action" becomes NAME="_action")


-- 
Edit bug report at http://bugs.php.net/?id=16759&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16759&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16759&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16759&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16759&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16759&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16759&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16759&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16759&r=submittedtwice

Reply via email to