PHP header(), location & refresh

Steven Clark has written a useful little article about using PHP’s header() function to redirect users after form submissions etc which I have just implemented on my Contact form

Excerpt: One of the most important things to understand is the HTTP protocol even if its only on a basic level. Its a stateless protocol meaning it has no memory once it leaves the page, and HTTP works by sending requests and responses to and from the server for content. These HTTP transactions therefore contain request and response headers. PHP scripts can send HTTP response headers using the header() function…

Read more of Steven’s article about PHP�s Location and Refresh

One thought on “PHP header(), location & refresh”

Leave a Reply

Your email address will not be published. Required fields are marked *