Re: WDDX

From: Date: Sat, 08 Dec 2001 14:16:04 +0000
Subject: Re: WDDX
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77117@lists.php.net to get a copy of this message
Browsers discard whatever tags they don't understand. They don't grok WDDX tags, so only the string is displayed. View source and it all should be there. -Stathis. con pulpa wrote: > > Hi EVERYONE! > > I'm running RH7.1 with PHP version 4.04pl1 and > Apache1.3.19-5. A simple php script <?php phpinfo(); ?> > tells me that the library is configured with the > '--enable-wddx' and '--with-xml' options. > > I'm using netscape4.76 and konqueror(kde 2.1.1) browser. > > Now running a slightly more complicated script from one of > the online tutorials > > <?php > $one_var = "I was serialized on 2001-12-08"; > print wddx_serialize_value($one_var); > ?> > > I find that it produces no output at all! > There are no errors reported in the log files... > > Then, if I put an echo statement before the print: > <?php > echo "==>WDDX Test"; > $one_var = "I was serialized on 2001-12-08"; > print wddx_serialize_value($one_var); > ?> > > I get the following output. > ==>WDDX Test I was serialized on 2001-12-08 > > I'm not too concerned about this wierd behaviour; > However, I was expecting this code to produce something > dressed in XML: > > <wddxPacket version='0.9'> > <data> > <string>I was serialized on 2001-12-08</string> > </data> > </wddxPacket> > > Can anyone help me? > > Thanks, Conpulpa

« previous php.general (#77117) next »