note 66946 deleted from function.ob-get-status by nlopess

From: Date: Thu, 01 Jun 2006 17:24:47 +0000
Subject: note 66946 deleted from function.ob-get-status by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-112787@lists.php.net to get a copy of this message
Note Submitter: Louis Green ---- 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.

« previous php.notes (#112787) next »