I have a client calling my server script, doing stuff, and replying...
But one of the things it's doing it taking a while, and so I don't want the main process to wait before it replies, instead I want it to fire off a little PHP script to get on with it, so it can reply to the user as soon as possible.
How to do this?
I have quickly tried exec, and fsocketopen, but my child php is not executing, and I don't know how to trap the error. There is nothing in my error logs.
Can someone give me the statements to do this, so I can get on writing the code that gets executed.