RE: [PHP] Disabling output control when using "ob_start"
| From: | John W. Holmes | Date: | Wed, 26 Mar 2003 00:57:09 +0000 |
| Subject: | RE: [PHP] Disabling output control when using "ob_start" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141042@lists.php.net to get a copy of this message | ||
> Is there a way to disable the call back function set by "ob_start"?
> I tried:
> ob_end_flush();
> ob_end_clean();
> ob_implicit_flush(true);
>
> Nothing seams to work. I can't detect the call back function and I
can't
> prevent it either. The call back function is called no matter what!
>
> Michael
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
What if you use something like:
Ob_start("dummy");
Function dummy($string) { return $string; }
Which basically does nothing...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/