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

Re: Validator fails with PHP and sessions

From: Exclupen.com <webmaster@exclupen.com>
Date: Fri, 1 Mar 2002 02:44:11 -0500 (EST)
Message-ID: <001001c1c0f4$d77c8620$0100a8c0@marshall>
To: <www-validator@w3.org>
Never mind... I resolved the problem.  Sorry.
  ----- Original Message ----- 
  From: Exclupen.com 
  To: www-validator@w3.org 
  Sent: Friday, March 01, 2002 2:16 AM
  Subject: Validator fails with PHP and sessions


  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:31:34 GMT

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