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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]