From: xoneca+php at gmail dot com
Operating system: Windows XP SP2
PHP version: 5.2.3
PHP Bug Type: Scripting Engine problem
Bug description: The x coordinate disappears from form request
Description:
------------
Indexed <input type="image" /> returns only "Y" value but not "X".
Reproduce code:
---------------
<form method="get">
<input type="image" src="image.gif" name="image[2]">
</form>
<pre><?php var_dump($_GET); ?></pre>
Expected result:
----------------
array(1) {
["image"]=>
array(2) {
["x"]=>
string(1) "3"
["y"]=>
string(1) "2"
}
}
// OR:
array(2) {
["image_x"]=>
array(1) {
[0]=>
int(3)
}
["image_y"]=>
array(1) {
[0]=>
int(2)
}
}
// Or something similar.
Actual result:
--------------
array(1) {
["image"]=>
array(1) {
string(1) "2"
}
}
--
Edit bug report at http://bugs.php.net/?id=42162&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42162&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42162&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42162&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42162&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42162&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42162&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42162&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42162&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42162&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42162&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42162&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42162&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42162&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42162&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42162&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42162&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42162&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42162&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42162&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42162&r=mysqlcfg