Bug #18340 Updated: session management without cookies inserts not-XHTML-conform INPUT

From: Date: Sun, 14 Jul 2002 21:47:20 +0000
Subject: Bug #18340 Updated: session management without cookies inserts not-XHTML-conform INPUT
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14156@lists.php.net to get a copy of this message
ID: 18340 Updated by: sniper@php.net Reported By: hnt@gmx.at -Status: Open +Status: Duplicate Bug Type: Session related Operating System: Linux 2.4.18 PHP Version: 4.2.1 New Comment: Duplicate of: http://bugs.php.net/bug.php?id=13472 Previous Comments: ------------------------------------------------------------------------ [2002-07-14 15:51:24] hnt@gmx.at By "without cookies" I meant when the browser does not accept the sessionID cookie and php rewrites the document to maintain state ------------------------------------------------------------------------ [2002-07-14 15:46:23] hnt@gmx.at I am using php 4.2.1 The session.use_trans_sid is set to "1" and url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=action" Still the output is not Xhtml 1.0 Strict Valid -- w3 Validator output -- Error: element "input" not allowed here; possible cause is an inline element containing a block-level element -- the incorrect line is <form method="post" action="index.php?phpdiaryID=88e24d5c84040f8f3f5b1cd12e4fc9a2"><input type="hidden" name="phpdiaryID" value="88e24d5c84040f8f3f5b1cd12e4fc9a2" /><p><input type="hidden" name="a" value="login" /> As you can see, there is a "<p>" there. PHP should place the hidden input-field after the <p> then it should be perfectly ok... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18340&edit=1

« previous php.bugs (#14156) next »