W3C home > Mailing lists > Public > www-validator@w3.org > October 2003

Re: PHP session IDs and the dreaded ampersand

From: David Dorward <david@dorward.me.uk>
Date: Sat, 18 Oct 2003 07:57:27 +0100
To: Simon Oliver <simon@mindlib.co.uk>
Cc: www-validator@w3.org
Message-ID: <20031018065727.GA15713%david@dorward.me.uk>

On Sat, Oct 18, 2003 at 01:05:41 +0100, Simon Oliver wrote:
> I can't get my PHP-generated pages to validate because PHP adds the session ID 
> to the end of every link using an ampersand.
> 
> is there any way you can exclude &PHPSESSID from the entity rule?

Why not just generate valid HTML instead?

http://uk2.php.net/manual/en/configuration.directives.php#ini.arg-separator.output

(Why this doesn't default to &amp; I have /no/ idea).

-- 
David Dorward                                       http://dorward.me.uk/
Received on Saturday, 18 October 2003 02:56:18 GMT

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