Re: Help with php server and sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adz07 wrote:
i want to set up a php server that can communicate with a client (CLI PHP
Script). I can setup the server socket fine. What i need to know is whether
it is possible for the client to call a function in the servers php code and
the server return the data ready for the client to process??

To start, if anyone could tell me how to use a socket connection from a CLI
client to a CLI server to retreive an array (it'll do for now :)  ....if its
even possible that is!

Sorry if thats not the best explanation!

Take a look at XML-RPC (www.xmlrpc.com). As Robert mentions, it is a standard protocol for communicating between languages/servers.

Altho very bloated IMO, it should work fine within a CLI app.

Darren

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux