php_soap weird results
| From: | Andrey Hristov | Date: | Tue, 11 Jun 2002 01:19:14 +0000 |
| Subject: | php_soap weird results | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-100@lists.php.net to get a copy of this message | ||
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.
In addition there is one more problem that persists in 0.1.2 . It was found by phpsurf ->
null() is not valid httpurl resource
or something like that. The only way to remove it is to set error_reporting to 0.
Regards,
Andrey