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>
Hi,

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?

TIA,

Marshall Roch
Webmaster, Exclupen.com
webmaster@exclupen.com
Received on Wednesday, 6 March 2002 13:26:44 GMT

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