Re: This, then that.

From: Date: Fri, 19 Oct 2007 17:09:06 +0000
Subject: Re: This, then that.
Groups: php.general 
Request: Send a blank email to php-general+get-263400@lists.php.net to get a copy of this message
actually, you could run it by 1. making the page 2. flushing the output buffer (which puts it in the screen) 3. run the 2nd script ---- tedd <tedd@sperling.com> wrote: > At 12:06 AM -0400 10/19/07, Nathan Hawks wrote: > >If by "creates a web page" you just mean it echos output to the browser, > >and you want to do something else after that, then: > > > >After you have sent your </html> and have no more output for the > >browser, just use the include() function to run your extra process. > > > >e.g.... > > > ></html> > ><?php include('secondary_script.php'); ?> > > > > No, includes don't work that way. > > Your secondary_script.php will be run before your html is shown. > > You have to try it to understand. > > Cheers, > > tedd > > -- > ------- > http://sperling.com > http://ancientstones.com > http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#263400) next »