Re: This, then that.
| From: | tedd | Date: | Fri, 19 Oct 2007 16:16:46 +0000 |
| Subject: | Re: This, then that. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263389@lists.php.net to get a copy of this message | ||
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