Bug #16050 Updated: does not set name variable in input type=image name=do..

2002-03-13 Thread gleitner

 ID:   16050
 Updated by:   [EMAIL PROTECTED]
-Summary:  does not set name variable in input type=image
   name=do..
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Scripting Engine problem
 Operating System: linux
 PHP Version:  4.1.2
 New Comment:

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)


Previous Comments:


[2002-03-13 17:03:12] [EMAIL PROTECTED]

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




Bug #16050 Updated: does not set name variable in input type=image name=do..

2002-03-13 Thread derick

 ID:   16050
 Updated by:   [EMAIL PROTECTED]
-Summary:  does not set name variable in input type=image
   name=do..
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Scripting Engine problem
 Operating System: linux
 PHP Version:  4.1.2
 New Comment:

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


Previous Comments:


[2002-03-13 17:10:10] [EMAIL PROTECTED]

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:03:12] [EMAIL PROTECTED]

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