Name: Anonymous 2007-01-22 1:41
So every PHP plugin system I've seen is OO.
Is there any way to make a plugin system using functions?
Is there any way to make a plugin system using functions?
<?php
function Plugin($plugin, $args) {
extract $args;
require "plugins/$plugin.php";
}
?><?php
echo "Hello, $name";
?>