Possible Duplicate:
php execute a background process
I need to get some info from the user, send them some text back and process the data in the background, so after sending the text connectionwith browser should be closed and then the data processed.
How to achieve that?
You'll most likely want to save the information to a database and write some sort of daemon that processes the information offline. The PEAR System_Daemon would be a great starting point.
Some sections of their documentation you might be interested in:
You may get use of pcntl_fork
. See the manual example.