note 743 deleted from ref.http by sander

From: Date: Sun, 07 Apr 2002 12:38:38 +0000
Subject: note 743 deleted from ref.http by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28891@lists.php.net to get a copy of this message
The way to change the HTTP Status using PHP3 is using the header() function: <?php header("Status: 404 Not Found") ?> <H1>Error: 404 Not Found</H1> The Page you requested was not found Note that the header() function must be called before any actual output is sent either by normal HTML tags or from PHP.

« previous php.notes (#28891) next »