note 13209 deleted from function.die by philip
| From: | philip@php.net | Date: | Fri, 31 Aug 2001 17:47:52 +0000 |
| Subject: | note 13209 deleted from function.die by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17442@lists.php.net to get a copy of this message | ||
"...not sure if this is a bug or not."
Its not, the include() statement outputs the contents of the "maintainence.html" and
returns the value "1" indicating its success. This value is passed as the parameter for
the die() function and is then outputed appropriately.
The best way of achieving your goal would be to use a statement such as :
die(!include ("stats.php"));