#22156 [Opn->Bgs]: "invalid" html output

From: Date: Tue, 11 Feb 2003 00:01:45 +0000
Subject: #22156 [Opn->Bgs]: "invalid" html output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32697@lists.php.net to get a copy of this message
ID: 22156 Updated by: sniper@php.net Reported By: steven.harrington@verizon.net -Status: Open +Status: Bogus Bug Type: Output Control Operating System: linux PHP Version: 4.3.0 New Comment: You obviously did not search the bug database first. This is _NOT_ bug. RTFM. Previous Comments: ------------------------------------------------------------------------ [2003-02-10 17:34:30] steven.harrington@verizon.net This code produces html that doesn't pass the w3c code validator: <form method=post action="Start.php?login"> <p> Name:<br /> <input type="text" size=8 maxlength=8 name="name" value="$user"> <br /> Password:<br /> <input type="password" size=8 maxlength=8 name="password" value="$pw><br /> <br /> <input type='submit' value='Log In'> <br /> </p> </form> The output code is: <form method="post" action="Start.php?login"><input type="hidden" name="PHPSESSID" value="c7d63b0826c43760e36c24ee481970a1"> <p> Name:<br> <input type="text" size="8" maxlength="8" name="name" value="xxxxxx"> <br> Password:<br> <input type="password" size="8" maxlength="8" name="password" value="yyyyyyy"><br> <br> <input type="submit" value="Log In"> <br> </p> </form> (name and password values bogus). Obviously the problem is the hidden input emitted by php to handle the sessions variables which html4 required to be after the <p> tag. This "bug" has no effect that I can detect. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22156&edit=1

« previous php.bugs (#32697) next »