note 18559 added to function.include
| From: | tudor at veganlist dot com dot au | Date: | Mon, 28 Jan 2002 02:40:26 +0000 |
| Subject: | note 18559 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25887@lists.php.net to get a copy of this message | ||
included files can't directly return boolean constants. if, in return.php above you put return
true; in place of return $var;, the included php will always fail!
instead, make $var = true;, and then pass return $var; as above.
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+18559
http://master.php.net/manage/user-notes.php?action=delete+18559
http://master.php.net/manage/user-notes.php?action=reject+18559