On 3 Apr 2001 06:26:47 -0700, Justin French <[EMAIL PROTECTED]> wrote:
>> (3) Use output buffering
>
>huh?  appreciate mroe on this...

put ob_start() at the top of your page and ob_end_flush() at the bottom. PHP
will store all of the output instead of sending it to the browser. If you put a
header("Location: foo"); exit; somewhere, that output will never be set.

(Take a look at the ob_* functions in the manual when you have a spare moment -
there's some pretty cool things you can do with them, particularly if you use
the gz handler to compress pages on the fly.)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to