News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebShop.com Blog:
PHP Header(), Beyond Redirect
December 10, 2009 @ 12:51:30

One of the most popular reasons to use the header function in PHP applications is to do a redirect, but the webshop.com blog wants to remind you that there's more to it than just that.

If you are a web developer and you've ever worked with PHP you have probably come across the PHP header() function in the past. You most likely used it to implement a hard redirect; but you may not have understood exactly what was happening behind the scenes every time you call this handy function. Let's take a look at what the header() function does and find some uses for it other than its most common use-redirects.

They look at what the header function is for, what HTTP headers are (and some examples) as well as a few examples of use outside of redirects including defining content types, response codes and cache control.

0 comments voice your opinion now!
header redirect tutorial


blog comments powered by Disqus

Similar Posts

NetTuts.com: Turbocharge your Website with Memcached

TechTatva.com: [How To] Setup Cherokee with PHP5 FPM

Knp Labs: Deploy Your Symfony Application Painlessly with Capifony

Chris Jones: Getting Started with PHP Zend Framework 2 for Oracle DB

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client


Community Events





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


language code list interview deployment series community conference podcast laravel release developer introduction application threedevsandamaybe zendserver tips framework api development

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