Re: [PHP] Serializing a DOM object

2002-12-31 Thread Boget, Chris
> 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

Re: [PHP] Serializing a DOM object

2002-12-30 Thread Chris Boget
> 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 inv