Re: This, then that.
| From: | Zoltán Németh | Date: | Fri, 19 Oct 2007 16:24:00 +0000 |
| Subject: | Re: This, then that. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263392@lists.php.net to get a copy of this message | ||
2007. 10. 19, péntek keltezéssel 12.16-kor tedd ezt írta:
> 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.
no, you just have to put a flush(); before the include
greets
Zoltán Németh
>
> You have to try it to understand.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
>