From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.1.2
PHP Bug Type:     Scripting Engine problem
Bug description:  does not set name variable in <input type="image" name="do"..>

the scripting engine does not set $doit when i submit

<input type="image" name="do"
src="http://www.xxx.com/buttons/fund_off.jpg";>

sample code to test:

<? if (isset($doit)) print "yes";
   else print "no";
?>
<form name="form1" method="post" action="./test.php">
<input type="image" name="doit"   
src="http://www.xxx.com/buttons/fund_off.jpg";>
</form>

when i click on the image, i still get a "no"
-- 
Edit bug report at http://bugs.php.net/?id=16050&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16050&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16050&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16050&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16050&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16050&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16050&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16050&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16050&r=submittedtwice

Reply via email to