note 40429 added to function.include
| From: | Ernie at rn2 dot php dot net | Date: | Wed, 03 Mar 2004 16:03:33 +0000 |
| Subject: | note 40429 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66173@lists.php.net to get a copy of this message | ||
I am curious if anyone has an answer to this:
I'm writing a "function.inc" file and am worried about it getting too big.
Does the include() (or even the require() ) have a file size limit?
if so, what is it?
Also, just for my own sanity, if there is no file size limit, and I want to break the function.inc
into say "function1.inc, function2.inc" etc...
what would be the best way for me to link to those files?
Obviously I could put:
include "function1.inc";
include "function2.inc";
but I was hoping to keep:
include "function.inc";
and not have to worry about adding a new include line. Is there a preferred way, or a more efficient
way? I also know that I could put the include lines at the top of my original
"function.inc", but I am unsure if there are issues with that, that I'm unaware of.
Thanks!!
-Ernie
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40429
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40429&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40429&report=yes
Search -- http://master.php.net/manage/user-notes.php