— After battling with my stupid…
After battling with my stupid search form, trying to get it to validate XHTML Strict I finally found a solution. Apparently it had something to do with my php.ini that allows sessions or something… when I checked it in a validator the php was adding some extra (not xhtml strict valid) code because it doesn’t accept cookies.
Anyways the solution I found - enter this code into my header (what the code does… I’m not sure… but it fixed my validation problem).
<?php
// put it before the session_start();
ini_set('arg_separator.output', '&');
ini_set("url_rewriter.tags","a=href,area=href,frame=src,iframe=src,input=src");
?>
-----


Leave A Comment