note 42353 deleted from function.ob-clean by betz

From: Date: Fri, 14 May 2004 12:39:15 +0000
Subject: note 42353 deleted from function.ob-clean by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69605@lists.php.net to get a copy of this message
Note Submitter: eclipxe email csoto/sia-solution/com ---- I used to implement ob_clean() function but one application give me a peculiar error: After use ob_clean() it automaticlly adds the string "DIV>" to the buffer, another peculiar thing was that the string only was added on the first run, If I reload the page or check another page the error disappears. I don't know explicitly why or when it do that but I replace the function with ob_get_clean() and the hole error disappear. No more garbage on my HTML response. No, I'm not crazy that was the only change I made to my application, I'm totally sure about it.

« previous php.notes (#69605) next »