you could create a common include file for each directory, for e.g.

functions/auth.inc.php would contain:

    include ("auth/auth1.php");
    include ("auth/auth2.php");
    ...

later you could just include() the auth.inc.php file, and all the rest qould
get included as well

"andrew" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> Is there any way to include whole directories?
> I have my function declarations in many small, easily maintainable
> files, but it's a pain to include/require them all individually...I
> would like to just split them into directories by common purpose, e.g
>
> functions/auth
> functions/content
> functions/modules
>
> and then include a directory at once - any ideas?
>
> cheers!
> andrew
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to