Re: This, then that.

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

 



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@xxxxxxxxxxxx> 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

-- 
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