note 24098 deleted from function.header by victor
| From: | victor@php.net | Date: | Wed, 28 Aug 2002 06:37:07 +0000 |
| Subject: | note 24098 deleted from function.header by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35838@lists.php.net to get a copy of this message | ||
mike_tharp@hermanmiller.com -
This works for me:
header("HTTP/1.0 404 Not Found");
header("Location: http://" . $SERVER_NAME .
"/error.php?eid=404");
exit;
I use this to check for some variables, and if they don't exist, then these headers are sent.
I hope this helps.