note 40429 deleted from function.include by nlopess
| From: | nlopess@php.net | Date: | Wed, 03 Mar 2004 17:43:46 +0000 |
| Subject: | note 40429 deleted from function.include by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66193@lists.php.net to get a copy of this message | ||
Note Submitter: Ernie
----
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