#27330 [Opn->Bgs]: indexed input type image problem - engine returns array only with "Y" value.

From: Date: Fri, 20 Feb 2004 21:20:08 +0000
Subject: #27330 [Opn->Bgs]: indexed input type image problem - engine returns array only with "Y" value.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-55253@lists.php.net to get a copy of this message
ID: 27330 Updated by: sniper@php.net Reported By: shoorik at ilyichevsk dot net -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: ASP Linux 2.6.3 i686 PHP Version: 4.3.4 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is not any bug. Previous Comments: ------------------------------------------------------------------------ [2004-02-20 08:26:43] shoorik at ilyichevsk dot net Description: ------------ Just try code reproduced here. Indexed input type image returns only "Y" value in "string" but not "array" with "X" and "Y". Reproduce code: --------------- <form method=get> BUG - <input type="image" src="image.gif" name="submit[4]"><br> OK - <input type="image" src="image.gif" name="submit_auto_index[]"><br> OK - <input type="image" src="image.gif" name="submit_single"><br> </form> <pre> <? var_dump( $_REQUEST ); ?> </pre> Expected result: ---------------- array(1) { ["submit"]=> array(1) { [4]=> array(2) { [0]=> string(1) "9" [1]=> string(2) "13" } } } Actual result: -------------- array(1) { ["submit"]=> array(1) { [4]=> string(2) "13" } } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27330&edit=1

« previous php.bugs (#55253) next »