note 17229 rejected from function.include by zak
| From: | zak@php.net | Date: | Fri, 30 Nov 2001 16:45:25 +0000 |
| Subject: | note 17229 rejected from function.include by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21483@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().