Re: php_soap weird results
| From: | Jan Maska | Date: | Tue, 11 Jun 2002 07:56:52 +0000 |
| Subject: | Re: php_soap weird results | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-102@lists.php.net to get a copy of this message | ||
Ad <return "PHP Soap says($msg) &foobar";> - shouldn't the specials be
escaped? :-) Otherwise the PHP considers this a new var.. :-)
..::mac::..
______________
..::jan maska::..
+420 608 453492
~~~~~~~~~~~~
web developer
Systinet, Prague
--- Andrey Hristov <andreyhristov@abv.bg> wrote:
> Hi,
> In my opinion, I think that I have found a problem with the encoding of
some
> symbols. At this time I am developing an application that actively use
> php_soap and what was the surprise when I wanted to create an element
with
> name "Week & Month stats" in the RDBMS but as a result there was only
"Week
> ". At first look I thought it was my problem but it wasn't because I
tested a
> situation with the simple Hello World example from the site that returns
some
> message and modified to something like that:<?php
> $server = new SoapServer("urn:HelloWord");
> $server->addfunction("hello_soap");
> $server->handle();
> function hello_soap($message){
> return "PHP Soap says($msg) &foobar";
> }
> ?>
> (this is one is not that I have tested but gives an overview).
> Everything after the amp disappears.