| From: | "Papp Gyozo" <pgerzson(at)freestart(dot)hu> |
|---|---|
| To: | "YC Nyon" <ycnyon(at)pd(dot)jaring(dot)my>, <pgsql-php(at)postgresql(dot)org> |
| Subject: | Re: Spaawn another process |
| Date: | 2002-11-07 09:53:27 |
| Message-ID: | E189iLM-0004Na-00@relay.freestart.hu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-php |
2002. november 6. 07:09 dátummal YC Nyon ezt írta:
| In my PHP page, I need to run a external program to insert map data
| into Postgresql. However, the process is very slow (can be 10 mins).
| How do I return a webpage telling the user that the process is
| running and permits the user to browse the other parts of the web
| application.
|
| My idea is to run the "exec();" after the </html> tag. Would that be
| the way?
I think it's a wrong idea, there is a more sophisticated way to achive
this. For more information see register_shutdown_function() in the PHP
manual. (http://php.net/register_shutdown_function)
|
| TIA
| Nyon
|
|
| ---------------------------(end of
| broadcast)--------------------------- TIP 4: Don't 'kill -9' the
| postmaster
--
Papp, Győző
- pgerzson(at)freestart(dot)hu
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mixo | 2002-11-07 14:53:43 | Re: [Fwd: [ph-linux-newbie] help on cron] |
| Previous Message | Andrew McMillan | 2002-11-07 09:42:33 | Re: Spaawn another process |