Re: include whole directories?

From: Date: Tue, 01 May 2001 20:22:12 +0000
Subject: Re: include whole directories?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-51007@lists.php.net to get a copy of this message
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" <andrew@salamander.net> wrote in message news:200104280007.f3S077608569@chmls20.mediaone.net... > > > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#51007) next »