Re: [PHP] Re: Server Client Architecture, best parctice

2005-11-19 Thread Philip Hallstrom
Reading this, a question arose me: is it possible to read a shared memory area with php, supposing than both programs are in the same machine? does php support ipc? that would be greatly useful. yes. http://us3.php.net/manual/en/ref.sem.php Mariano. James Benson wrote: Each has its ow

[PHP] Re: Server Client Architecture, best parctice

2005-11-17 Thread Mariano Guadagnini
Reading this, a question arose me: is it possible to read a shared memory area with php, supposing than both programs are in the same machine? does php support ipc? that would be greatly useful. Mariano. James Benson wrote: Each has its own benefits, if on a shared server then a database w

[PHP] Re: Server Client Architecture, best parctice

2005-11-17 Thread James Benson
Each has its own benefits, if on a shared server then a database would be the most secure I think, if its a dedicated server then tmpfs or just plain old files will probably be the best, it also depends on various other factors like, server hardware and bandwith, only you can select the best op

[PHP] Re: Server Client Architecture, best parctice

2005-11-17 Thread James Benson
Are both servers on the same machine? Yaswanth Narvaneni wrote: Hi! I would like to know what does the community think of the best architecture for server client communication and why? That is, if there is a server in C++ (say a game server) and the PHP has to 'read' data 'from' the server t

[PHP] Re: Server Client Architecture, best parctice

2005-11-17 Thread gOLeM
my friend here forgot to add that it will be a pretty busy website with lots of requests. And i would also like to know if there are any other forms of communication other than the 4 that my friend here specified. Anything that you people think will be efficient. On 11/17/05, Yaswanth Narvaneni <[