RE: Why is there an outputbuffer here?
| From: | Oleg Krogius | Date: | Sun, 20 Oct 2002 15:26:29 +0000 |
| Subject: | RE: Why is there an outputbuffer here? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120668@lists.php.net to get a copy of this message | ||
Automatic start of buffering may be set in php.ini
-----Original Message-----
From: Bas Jobsen [mailto:bas@startpunt.cc]
Sent: Sunday, October 20, 2002 7:17 AM
To: PHP General
Subject: Why is there an outputbuffer here?
Hello,
In the code below ob_end_clean(); doesn't give a warning (No buffer to
delete). So there seems to be a buffer, but i don't understand why?
Who knows?
Thanks,
<?
error_reporting(E_ALL);
session_start();
unset($_SESSION['username'],$_SESSION['password']);
$p = session_get_cookie_params();
setcookie(session_name(), '', time()-1, $p['path'],
$p['domain']);
ob_end_clean();
?>