Re: This, then that.

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

 



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
> 

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