Hey,
Children need the support of their parents, mainly to use the parents money ofcourse.. and I am quite unsure right now why scripters call it Parent and Child processes as it doesn't work like this at all in PHP!
I want my child processes to use resources created in the Parent, but it won't have any of it. I have a socket server that, when a socket resources is created, is subbed off into a child, however these children sometimes needs to communicate with other children, however they only hold resources they had when the parent said goodbye to them, not any new ones.
So now, how do I allow the child to use or grab resources of the parent. I have tried storing resource ID's as strings in MySQL in hope it would work, but ofcourse it didn't giving this error:
Warning: socket_write() expects parameter 1 to be resource, string given in /home/server/public_html/v3/client_functions.php on line 5
So, any idea's? I am sure this would be the same problem using shared memory too, but maybe mistaken?
Oh and PLEASE reply to this one, last three issues no one has responded too. I would really appreciate it!
James