Try encoding like this:
$retval = base64_encode(serialize( domxml_open_mem( $xml )));
and on the next page:
$xml = unserialize(base64_decode($xml));
It works via html but don't know enough about soap
Well, you don't have to use soap - you can use sessions and get the
same result.
As for your
Hi,
Wednesday, January 1, 2003, 5:28:43 AM, you wrote:
Try encoding like this:
$retval = base64_encode(serialize( domxml_open_mem( $xml )));
and on the next page:
$xml = unserialize(base64_decode($xml));
It works via html but don't know enough about soap
BC Well, you don't have to use soap
Consider the following:
page1.php
?php
// initializing soap server object, blah, blah, whatever here.
// the important function, dumbed down to the barest essentials.
//
function test() {
$retval = ;
$xml = rootrowelementtest/element/row/root\n;
$retval = serialize(
In the test function, if I just serialize the $xml, return it and then call
xmldoc_open_mem on the unserialized return string, it works fine.
But it doesn't like it if I do the above. I'm getting the error:
Warning: dump_mem() [function.dump-mem]: Underlying object missing
or of invalid
Hi,
Tuesday, December 31, 2002, 2:55:39 AM, you wrote:
In the test function, if I just serialize the $xml, return it and then call
xmldoc_open_mem on the unserialized return string, it works fine.
But it doesn't like it if I do the above. I'm getting the error:
Warning: dump_mem()
5 matches
Mail list logo