RE: [PHP] header() ???
| From: | Jason Murray | Date: | Thu, 14 Sep 2000 04:36:26 +0000 |
| Subject: | RE: [PHP] header() ??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16685@lists.php.net to get a copy of this message | ||
> but I can simply do this:
> if (!input_valid(..)) {
> include "error.php";
> }
>
> why is header() needed?
There's a multitude of reasons to do it - they depend on your design
methodology. Basically, if you need to send additional headers, use
it. If not, safely ignore it.
Jason