W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

[VE][65] PHPSESSION input hidden

From: Moritz Peters <xray@sharply.de>
Date: Thu, 03 Apr 2008 00:35:32 +0200
To: www-validator@w3.org
Message-ID: <op.t8z806bnj5xge0@localhost>

2document%20type%20does%20not%20allow%20element%20X%20here;%20missing%20one%20of%20Y%20start-tag%22%0D%0A


This is related to http://www.w3.org/QA/2005/04/php-session
It is the same issue: PHP integrates an hidden input after <form> if no  
cookie can be set. Since <input> is not allowed in <form> this will get an  
error when trying with STRICT.
I don't know if there is a workaround or if PHP has this on their buglist.
If you try my page, you will probably not have any success, so here is the  
part of the code, that is important:

<form method="post" action="index.php"><input type="hidden"  
name="PHPSESSID" value="ede4080e1bb25bd987cce30f09c7ef2c" />
<fieldset>


This clearly is not your mistake. However it could be nice, to take this  
into the errordescription as a possible cause until the PHP team has found  
a possible fix.

If anything is unclear, don't hesitate to ask me.
best regards
Moritz Peters
Received on Thursday, 3 April 2008 12:57:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:29 GMT