W3C home > Mailing lists > Public > www-validator@w3.org > March 2002

Validator fails with PHP and sessions

From: Exclupen.com <webmaster@exclupen.com>
Date: Fri, 1 Mar 2002 02:16:43 -0500 (EST)
Message-ID: <000801c1c0f0$f9c536e0$0100a8c0@marshall>
To: <www-validator@w3.org>

I'm currently using PHP 4.1.2 (newest version) with --enable-trans-id.  This means that if cookies are disabled, PHP automatically appends &PHPSESSID=8aa2ade9430f859b5c6e2a8ad1ba924c" (the actual session ID varies) to every link.

I've read some of the posts (I doubt I've found nearly all of them, since the search feature isn't working... fyi) about replacing & with &amp; but PHP is doing this automatically and I can't change it. (it's not my server, even if I knew how)

Is it acceptable XHTML (I'm trying to validate as XHTML 1.0 Transitional) to have a & in the query string instead of an &amp; (meaning it's a bug in the validator)?  What can I do to make my page validate?


Marshall Roch
Webmaster, Exclupen.com
Received on Wednesday, 6 March 2002 13:26:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC