Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1EBFD475DA7 for ; Thu, 7 Nov 2002 03:51:36 -0500 (EST) Received: from relay.freestart.hu (smtp.freestart.hu [213.197.64.6]) by postgresql.org (Postfix) with ESMTP id 451D3475D70 for ; Thu, 7 Nov 2002 03:51:34 -0500 (EST) Received: from line-74-122.dial.freestart.hu ([213.197.74.122] helo=there) by freestart.hu with smtp (Freestart relay 1 (FS-Lin)) id 189iLM-0004Na-00; Thu, 07 Nov 2002 09:48:53 +0100 Content-Type: text/plain; charset="iso-8859-2" From: "Papp Gyozo" Reply-To: pgerzson@freestart.hu To: "YC Nyon" , Subject: Re: Spaawn another process Date: Thu, 7 Nov 2002 10:53:27 +0100 X-Mailer: KMail [version 1.3.1] References: <004b01c2855b$42e50a60$5340baca@gis> In-Reply-To: <004b01c2855b$42e50a60$5340baca@gis> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-Scanner: exiscan by Freestart X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/20 X-Sequence-Number: 1602 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 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@freestart.hu