note 61338 added to function.ob-start

From: Date: Tue, 31 Jan 2006 22:14:31 +0000
Subject: note 61338 added to function.ob-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-102787@lists.php.net to get a copy of this message
One of the notes below mentions that ob_end_flush() is called automatically at the end of the script if you called ob_start without an ob_end. Because I couldn't find any other way to do it, I tried to use this fact to have some stuff run at the end of every script. It was a maintenance nightmare, so I'm putting a link here to the good way to do it, since it's nigh impossible to find with google. http://php.net/register_shutdown_function ---- Server IP: 64.71.164.2 Probable Submitter: 69.133.103.85 ---- Manual Page -- http://www.php.net/manual/en/function.ob-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61338 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61338&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61338&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102787) next »