Re : Error fetching headers
| From: | Andrey Hristov | Date: | Tue, 04 Jun 2002 14:50:10 +0000 |
| Subject: | Re : Error fetching headers | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-80@lists.php.net to get a copy of this message | ||
><?
>$server = new SoapServer("urn:Hello");
>$server->addFunction("hello");
>$server->handle();
>
>function hello($param)
>{
> return "???· ???µ ???°?·???°?? ?????????µ?" . $param;
>}
>?>
>
><?
>$obj = new SoapObject("http://gateway:88/hello.php",
>"urn:hello");
>echo $obj->hello("hi");
>?>
>
> Works fine for me... Server linux, Client Windows.
>
> What goes to hell? Does it return bad data or does it crash?
>
>
this example works for me too but on Server Windows, Client windows.I cannot try it
right now because for internet access I use the machine which is my linux/ soap server but currently
i'm under windows.
As a linux I use dragon linux - loop file system made around slackware 7.1 kernel 2.2.16. The
php_soap is a cvs few days
after the soap 0.1.1 release (the fix release) and AFAIK the last for now. I've linux with the
same php_soap on my other machine but
I've no cyrrilic installed on it. To be constistent no cyr stuff is installed on both mac
chines but because I use samba the cyr comes
from windows. Ooops I've succeded to test - got the file from the win partition.
I used your examples as basis and just changed the return to
return "????? ????????".$param;//malko kirilica -> few cyrillic symbols.
The result in lynx is : Unexpected network read error; connection aborted.
If I comment the return line and write new -> retrun $param; - no probs - 'hi' is
displayed
The result in Mozilla is : does not load- two or 3 times the browser tries to load and then stops.
but if i remove the cyrillic the page(script) is loaded and 'hi' is shown.
Linux Mandrake 8.2 kernel 2.4.18, apache 1.3.23, php 4.2.0rc2, php_soap compiled on May 4 -
probably I had downloaded
it on May 3 or May 4. No errors in syslog or other log file. However as I said I receive in IE the
error about the problem of fetching headers.
Now I'll try to download php_soap from CVS and to give a try.
Best regards,
Andrey
-----------------------------------------------------------------
http://www.MURA.bg - Искаш ли да летиш?
СПЕЧЕЛИ една седмица в Порт Авентура!!!