note 17229 added to function.include

From: Date: Fri, 30 Nov 2001 16:26:08 +0000
Subject: note 17229 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-21481@lists.php.net to get a copy of this message
A note to editors, one feature that could help is the use of wildcards in include paths. i.e. "../_classes/cEmailer*.php" In my case I have the class file cEmailer.php which needs to include cEmailerBody.php. So to keep this code in two files (preferable), I need to include both seperately each time from the PHP document implementing this class. Instead, I'd like to use wild cards and get them all in one shot. Just a thought. From there, you could also keep all the related files in a folder and include an entire folder from one call to include(). -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+17229 http://master.php.net/manage/user-notes.php?action=delete+17229 http://master.php.net/manage/user-notes.php?action=reject+17229

« previous php.notes (#21481) next »