ID:               42162
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xoneca+php at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Windows XP SP2
 PHP Version:      5.2.3
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





Previous Comments:
------------------------------------------------------------------------

[2007-07-31 17:32:30] xoneca+php at gmail dot com

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 this bug report at http://bugs.php.net/?id=42162&edit=1

Reply via email to