|
Posted by worlin on 10/11/06 12:27
Hi Jonny,
This is what i am trying:
$socket = pfsockopen("MyComp", 10000);
$xml = "XML2Send";
$res = fwrite($socket, $xml);
>From the servers point of view the text coming in is junk.
The server is expecting unicode text, because of this do I have to
encode what I want to send before sending it or anything?
Thanks
Jay
Johnny wrote:
> <worlin@hotmail.co.uk> wrote in message
> news:1160558424.384796.315480@e3g2000cwe.googlegroups.com...
> > s it possible to send an XML request from PHP to a C++ XML Server. The
> > server is listening on a port and I can connect and send xml via a
> > simple C++ client, but I can't get it going with PHP.
> >
> > I connect to the port fine, but can't seam to send any information.
> >
> > Can anyone shed any light on how to do this.
> >
> > Thanks
> > Jay
> >
>
> Give us some idea of what you are already trying....
Navigation:
[Reply to this message]
|