note 44959 added to function.include-once
| From: | NickCoad at osu1 dot php dot net | Date: | Sat, 21 Aug 2004 06:16:22 +0000 |
| Subject: | note 44959 added to function.include-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75041@lists.php.net to get a copy of this message | ||
jellieness at hotmail dot com is correct.
If you are worried about a file being included more than once and you are referencing the file
relatively, you will need to use your own method to ensure the file is not included twice. Perhaps
setting a variable in the to-be-included file, then testing using isset before including again?
----
Manual Page -- http://www.php.net/manual/en/function.include-once.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44959
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44959&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44959&report=yes
Search -- http://master.php.net/manage/user-notes.php