Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E5224476813 for ; Wed, 6 Nov 2002 13:04:21 -0500 (EST) Received: from sbsmtpd02.maxis.net.my (smtp2.maxis.net.my [202.75.130.123]) by postgresql.org (Postfix) with ESMTP id 48B784765B3 for ; Wed, 6 Nov 2002 13:04:19 -0500 (EST) Received: from gis ([202.151.200.42]) by sbsmtpd02.maxis.net.my with Microsoft SMTPSVC(5.0.2195.5329); Thu, 7 Nov 2002 02:04:37 +0800 Message-ID: <004b01c2855b$42e50a60$5340baca@gis> From: "YC Nyon" To: Subject: Re: Spaawn another process Date: Wed, 6 Nov 2002 14:09:04 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-OriginalArrivalTime: 06 Nov 2002 18:04:38.0194 (UTC) FILETIME=[F8A99920:01C285BE] X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/13 X-Sequence-Number: 1595 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? TIA Nyon