Output buffering is a powerful technique to make your site more flexible, and forms the basis of a new way of programming.
It's also often faster than doing without, allows you to cache your pages statically, and even allows compression - an all-round winner.
URL rewriting is an incredibly powerful feature might take a little while to prove its use, but give it time; you won't be disappointed.
Want to learn PHP 7?
Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!
If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!
Next chapter: Exercises >>
Previous chapter: URL rewriting
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.