That all depends on the type of file you are including. If you include a class, the class will not do anything until you instantiate it or inherit from it. If you have functions or basic "scripting" logic inside of your included file, it will be executed at the include point (if it's script) or at the time the function is called elsewhere in your script.
On Wed, Apr 16, 2008 at 10:54 AM, Nathan Lane <[EMAIL PROTECTED]> wrote: > So including files doesn't just inline their contents? That's how I've > been using it currently on my site. > > On Wed, Apr 16, 2008 at 10:52 AM, William Attwood <[EMAIL PROTECTED]> > wrote: > > > So long as you inherit or instantiate your new objects within the scope > > of your current object (Database) you should be fine. Including files just > > makes them available if you want to use them. > > > > --Will > > > > > > > > > -- > Nathan Lane > Home, http://www.nathandelane.com > Blog, http://nathandelane.blogspot.com > _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
