How To Set HTTP Response Header in PHP

Exception handling is very important for developer as well as for programming,in this tutorial we will described how to set custom header and messages into php response.
When we work on web application then each request have HTTP response.The HTTP response denotes the request was successful or have error,If response header contains error,Then you can know about what type error occurred with help of HTTP status code and message.

You can also check other tutorial of PHP headers,

PHP script to Set Response Headers