View Full Version : running a sessions page thru the validator

09-18-2003, 09:24 PM
I'm trying to validate my xhtml as on the w3c validator but because my site uses sessions, php shoves PHPSESSID={id} on the ned of every link, and because it uses & intead of & if there's already soemv ars being passed it wont validate.

Any idea how i can get rid of these for when i'm running the page through the validator?


09-18-2003, 09:45 PM
Put this at the top of your script.

ini_set('arg_separator.output', '&');

09-19-2003, 08:25 PM
hmmm, i really should look into more of the ini settings lol.

Any idea how to fix the auto generated hidden input field in my form to be XHTML valid?