RE: [PHP] newbie : how to access functions in seperate files???
| From: | Lukas Smith | Date: | Mon, 03 Sep 2001 18:25:56 +0000 |
| Subject: | RE: [PHP] newbie : how to access functions in seperate files??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65782@lists.php.net to get a copy of this message | ||
> > What do people do with required files? I have a file called config.php
> > which contains all my functions. It is 329526 bytes. Should I split this
> > up into other files? I don't think so, but what do others think?
>
> I too am curious about a recommended or best practice.
what you want todo is split them up by purpose
so you can include as needed
also check the differences on
include (include_once) versus require (require_once)
greets,
Lukas Smith
smith@dybnet.de
____________________________
DybNet Internet Solutions GbR
Alt Moabit 89
10559 Berlin
Tel. : +49 30 83 22 50 00
Fax : +49 30 83 22 50 07
www.dybnet.de info@dybnet.de
____________________________