...

View Full Version : running a sessions page thru the validator



ReadMe.txt
09-18-2003, 10: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?

TIA

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



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

ReadMe.txt
09-19-2003, 09: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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum