ID: 28316 Updated by: [EMAIL PROTECTED] Reported By: nano at spamcop dot net -Status: Open +Status: Bogus Bug Type: Session related Operating System: Irrelevant PHP Version: Irrelevant New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Remove form from url_rewrite.tags and put the correct information where you want it yourself. Previous Comments: ------------------------------------------------------------------------ [2004-05-07 16:33:45] nano at spamcop dot net Description: ------------ When use_trans_sid=on, this will add a hidden field (<input>) right after the form element start tag (<form>). Problem is that the XHTML Strict DTD forbids inline elements in the <form> element if they are not enclosed themselves in whatever block elements allowed in <form>, such as <fieldset>, <p>, <div>, etc. Reproduce code: --------------- (This is only for illustration purpose). <form enctype="..." method="..." action="..."> <fieldset> <legend>Test</legend> <input accesskey="..." type="text" name="..." /> <input accesskey="2" type="submit" name="test" value="OK" /> </fieldset> </form> Expected result: ---------------- (Feature request: the session info should not be added after <form> start tag, but right after first <input> tag, like below in between brackets [ ]). <form enctype="..." method="..." action="..."> <fieldset> <legend>Test</legend> <input accesskey="..." type="text" name="..." /> [<input type="hidden" name="PHPSESSID" value="..." />] <input accesskey="2" type="submit" name="test" value="OK" /> </fieldset> </form> Actual result: -------------- (This to illustrate the fact that an <input> element (type inline) is not directly allowed in a <form> element by XHTML Strict DTD, although it is permitted by XHTML Transitional DTD). <form enctype="..." method="..." action="...">[<input type="hidden" name="PHPSESSID" value="..." />] <fieldset> <legend>Test</legend> <input accesskey="..." type="text" name="..." /> <input accesskey="2" type="submit" name="test" value="OK" /> </fieldset> </form> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28316&edit=1
