ID: 13472 Updated by: sander Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Session related Bug Type: Feature/Change Request Operating System: linux 2.4.9/Apache PHP Version: 4.0.6 New Comment:
Not a bug. Making it a feature request. Previous Comments: ------------------------------------------------------------------------ [2001-09-28 04:12:48] [EMAIL PROTECTED] When enabling trans-id, php rewrites the forms to add an input type=hidden. the problem is that, in xhtml strict, inputs have to be in a fieldset element. when a fieldset element is already here, php still writes the input type=hidden before the fieldset, causing the page to be invalid html. reproducing is easy : <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>PHP Bug with forms and sessions</title> </head> <body> <form action="blabla.php"><fieldset><input type="submit" value="test" /></fieldset></form></body></html> its valid html, but php will, with transid, make it invalid by putting this input between the form and the fieldset... ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13472&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]