I am playing with pcntl_fork() in PHP.
I took the class that is written in the second comment, and tried to send data to it - which seems to work fine.
Now I did some processing on that data, and would like to receive some results in my parent process.
Does anyone know how this can be done ? The only way I can think of doing this is to store the information in the database and/or other storage.