WDDX
| From: | con pulpa | Date: | Sat, 08 Dec 2001 10:57:32 +0000 |
| Subject: | WDDX | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77106@lists.php.net to get a copy of this message | ||
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
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp