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>


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" />

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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:07 UTC