Possible Duplicate:
php execute a background process
how can I achieve a task that should be done in thread in php
I have this PHP script that takes a little long to process. However I don't want the viewer to wait for the script to finish. I want him to be able to continue browsing and/or close the browser. Yet I want the script to continue to work... How can I do this? Is there way to create some sort of thread that will allow such a thing?
p.s. I really don't want to re-write the script in another language and execute it via os.