Re: XML compliance with forms and trans_sid when using sessions

From: Date: Thu, 21 Feb 2002 19:09:37 +0000
Subject: Re: XML compliance with forms and trans_sid when using sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85762@lists.php.net to get a copy of this message
On Thu, 2002-02-21 at 09:45, James Nord wrote: > Hi, > > How do I get PHP to output an HTML tag instead of and XML tag when using > trans_sid and a form in PHP. > > (eg) > php outputs > > <input type="hidden" name="sessionName" value="sessionID" > /> > > but I don't want the trailing / > > /James I already told you how in the bug system: use output buffering to catch the output and remove the slash. But you'd be *breaking* compliance with this. If you would state exactly what the problem with the slash being there is, perhaps we could help you. -- Torben Wilson <torben@php.net> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506

« previous php.general (#85762) next »