Re: Headers sent by - need to clear screen - help me
| From: | Plutarck | Date: | Fri, 20 Apr 2001 22:54:31 +0000 |
| Subject: | Re: Headers sent by - need to clear screen - help me | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49616@lists.php.net to get a copy of this message | ||
Short answer: no.
If you can't just put your error information before you write information to
the screen you will need to use the ob_* family of functions. Clean the
information you've printed so far, then just print out the error information
to the screen.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Michael Champagne" <mchampagne@capis.com> wrote in message
news:Pine.WNT.4.33.0104200949100.372-100000@wkstn106.capis.com...
> I don't know if I'm wording this right.
>
> I have a display_error function in PHP that I want to generate a screen
with
> some information about the error, send us email, etc. The problem is that
> sometimes it's called after the headers have been sent and in the middle
of a
> page. Is there a way to 'clear' the screen and putup the error stuff?
>
> Thanks!
>
> Mike
>
>
>
> ******************************************************************
> This communication is for informational purposes only. It is not
> intended as an offer or solicitation for the purchase or sale of
> any financial instrument or as an official confirmation of any
> transaction, unless specifically agreed otherwise. All market
> prices, data and other information are not warranted as to
> completeness or accuracy and are subject to change without
> notice. Any comments or statements made herein do not
> necessarily reflect the views or opinions of Capital Institutional
> Services, Inc. Capital Institutional Services, Inc. accepts no
> liability for any errors or omissions arising as a result of
> transmission. Use of this communication by other than intended
> recipients is prohibited.
> ******************************************************************
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>