* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): > * Thus wrote Justin French ([EMAIL PROTECTED]): > > Hi all, > > > > enable_trans_sid in the PHP ini has given me no grief to date, but now > > I'm working towards XHTML 1.0 Strict, and PHP seems to fall over when > > dealing with forms. > > > > So, one option is to exclude form= from the list or rewrite tags in > > php.ini, but this places a burden on the developers and writers to > > manually do this. > > > > Option 2 I had *hoped* would be for the action='' attribute of a form > > tag to be re-written rather than a hidden form element being added, but > > I haven't been able to get this to work. > > > > > > Can anyone offer a solution? > > Has this feature been requested before, or is it likely to be included > > in PHP 5? > > I found this: > http://bugs.php.net/bug.php?id=13472 > > After reading that I'm still confused wether it was fixed. > So I tested it a bit with php 4.3.3 trans_id on... Hmm.. Set up your form like this:
<form> <div> <fieldset> <!-- input elements here --> </fieldset> </div> </form> Then with ini setting: url_rewriter.tags="a=href,area=href,frame=src,input=src,fieldset=" Works like a Charm :) Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php