Welcome Guest, Not a member yet? Register   Sign In
Calling a Controller Function from an External PHP File?
#4

[eluser]Negligence[/eluser]
Try this.

Code:
include('path/to/controller.php');
$controller = new Controller();

call_user_func(array($controller, 'function_name'));


Messages In This Thread
Calling a Controller Function from an External PHP File? - by El Forum - 12-12-2007, 06:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB