On 19/07/2010 12:21, Tobias Mueller wrote:
<snip>

> My question is: can this be done without a database? Can one PHP instance 
> (thread, process, ...) hand over data to another PHP instance? 
> 
> 
> (Actually there is an Apache Server that executes PHP scripts. Typical LAMP 
> configuration.)

Hi,

You will have to store the data somewhere that both php processes can
read.  You are currently using a database but you could also use:

The File System
Shared Memory Functions [http://php.net/manual/en/ref.shmop.php]
Memcache [http://php.net/manual/en/book.memcache.php]

I'm sure there are other ways as well but it depends on how portable you
want the system to be.

Regards

Ian
-- 




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

Reply via email to