Re: Stop to fast caching/parsing
| From: | Yuri Petro | Date: | Sat, 27 Apr 2002 16:00:01 +0000 |
| Subject: | Re: Stop to fast caching/parsing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94905@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.flush.php
flush -- Flush the output buffer
Flushes the output buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This
effectively tries to push all the output so far to the user's browser.
--
Kind regards,
Yuri.
>>>> www.AceHoster.com <<<< Quality web hosting
"Jan Peuker" <jan.peuker@janus-graphics.de> ???????/???????? ? ???????? ?????????:
news:001801c1edfa$be7ca050$7164a8c0@toshiba...
> Hi List,
>
> my Problem is, on the second line of my script I validate a session. If it's
> false, it dies. But in the first line, I require a header(html,body,title
> etc.). Now, if a session fails, my die-Message ends in a "<script>"-Part, so
> nobody sees it but gets an error by JS. Is there any way to stop parsing PHP
> before flushing out required headers?
> Thanks,
>
> Jan
>