Networking, Programming and Graphics Tutorials

Send header to browser with PHP [2/3]

For sending 'missing page' header try this:

<?php
header
("HTTP/1.0 404 Not Found");
?>
PHP scripts often generate dynamic content that must not be cached by the client browser or any proxy caches between the server and the client browser. Many proxies and clients can be forced to disable caching with:

<?php
header
("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?> 
Networking, Programming and Graphics Tutorials - Send header to browser with PHP [2/3] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: how to send header to browser  header to ftp php ie  "ftp in browser"  allow browser to ftp  connection from browser  ftp connection from browser  ppc browser opensource  sending headers in PHP to browser  "your browser doesn't support AJAX"  php ajax browser cache