News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
DevShed:
Output Buffering
September 03, 2008 @ 08:48:16

This new tutorial from DevShed introduces something that could make a pretty profound impact on your application if used correctly - output buffering.

Output control (or output buffering) allows you to write and execute your scripts normally but send data to the web browser at selected times. The main benefit of this system is that you can call the header(), setcookie() and session_start() functions at any place in your scripts without having to worry about the "headers already sent" error message.

They start with the basics - the functions and what they do - then move on to an example, a login form, that uses the buffering to capture errors and html to be flushed and echoed at the end.

0 comments voice your opinion now!
output buffer tutorial login form example



Similar Posts

DevShed: Adding Validation to an Image Generator Class with PHP 5

GNUCitizen.org: Reviewing Practical PHP Exploitation Techniques

Wez Furlong's Blog: PHP Objective-C Bridge

DevShed: Abstract Classes in PHP - Setting Up a Concrete Example

MC|Press Online: TechTip: PHP Delivers mail() on IBM System i


Community Events







Don't see your event here?
Let us know!


package releases conference example application cakephp zendframework PEAR zend job release book ajax framework mysql security code PHP5 database developer

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework