Re: This, then that.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/18/07, Robert Cummings <robert@xxxxxxxxxxxxx> 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....

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux