Include Multiple Directories in PHP script
<p>How to include multiple paths when a PHP script is called?</p>

<p>For example, I need to point <a href="http://us2.php.net/manual/en/function.set-include-path.php" rel="nofollow">include_path</a> to multiple directories; inside each directories containing sub directories etc. But I want to include all the php files inside the sub directories as well, so that when my master PHP script can call any methods and objects defined inside the directories. </p>

<p>Any idea?</p>

<p><strong>If possible, I would like to call a function to do it, instead of specifying the root directories and loop through everything inside the directories.</strong> </p>
