Include PHP Scripts which run functions?
<p>I am looking to create a plugin manager like program which starts a loop that searches for .php files in the 'plugins' folder. I need this to somehow run a function called <code>main()</code> in each file which will then run other functions. How could i accomplish this without the other <code>main()</code> functions clashing and would there be any better alternative?</p>
