note 66946 added to function.ob-get-status

From: Date: Thu, 01 Jun 2006 14:35:02 +0000
Subject: note 66946 added to function.ob-get-status
Groups: php.notes 
Request: Send a blank email to php-notes+get-112758@lists.php.net to get a copy of this message
There isn't an example for checking the status, so I thought I would post one: $array_ob_status = ob_get_status(); if(($array_ob_status == 0) || ($array_ob_status == 1)) { ob_clean(); } This examples checks the status and if an output buffer is found, clears it. ---- Server IP: 85.116.0.130 Probable Submitter: 88.108.89.153 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.ob-get-status.php Edit -- http://master.php.net/note/edit/66946 Del: integrated -- http://master.php.net/note/delete/66946/integrated Del: useless -- http://master.php.net/note/delete/66946/useless Del: bad code -- http://master.php.net/note/delete/66946/bad+code Del: spam -- http://master.php.net/note/delete/66946/spam Del: non-english -- http://master.php.net/note/delete/66946/non-english Del: in docs -- http://master.php.net/note/delete/66946/in+docs Del: other reasons-- http://master.php.net/note/delete/66946 Reject -- http://master.php.net/note/reject/66946 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112758) next »