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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gleitner at marinercapital dot com
New email:
PHP Version: OS:

 

 [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

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: Wed Sep 11 23:01:28 2024 UTC