php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16050 does not set name variable in <input type="image" name="do"..>
Submitted: 2002-03-13 17:03 UTC Modified: 2002-03-13 17:13 UTC
From: gleitner at marinercapital dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.1.2 OS: linux
Private report: No CVE-ID: None
 [2002-03-13 17:03 UTC] gleitner at marinercapital dot com
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"

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-13 17:10 UTC] gleitner at marinercapital dot com
i meant to say does not set the variable $doit

also, the button is located at a protected site, NOT at www.xxx.com (that links to a porn site, which was not the intention)
 [2002-03-13 17:13 UTC] derick@php.net
not a bug really... see if $do_x and/or $do_y are set ($doit will certainly not be set, you're using 'do').

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 14:01:28 2024 UTC