Re: This, then that.

From: Date: Thu, 18 Oct 2007 19:30:12 +0000
Subject: Re: This, then that.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-263332@lists.php.net to get a copy of this message
On 10/18/07, Robert Cummings <robert@interjinn.com> wrote: > On Thu, 2007-10-18 at 15:04 -0400, tedd wrote: > > Hi gang: > > > > I would like to run a php script that creates a web page and AFTER it > > is finished creating the page, then it runs another php script -- how > > you do that? > > exec() > > Cheers, > Rob. > -- > ........................................................... > SwarmBuy.com - http://www.swarmbuy.com > > Leveraging the buying power of the masses! > ........................................................... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Or, if you just want to be sure the other script runs, regardless of whether or not the user wants it to, you could add this just before the script terminates: <? // Code.... ignore_user_abort(); include('second_script.php'); ?> -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Give a man a fish, he'll eat for a day. Then you'll find out he was allergic and is hospitalized. See? No good deed goes unpunished....

« previous php.general (#263332) next »