[PHP] PHP5 cgi Suexec htaccess rewrite issue

2011-09-29 Thread Shaun Morrow
I am running a server with cPanel on and want to have php run as a cgi with Suexec enabled I cannot seem to rectify an issue, when I set the handler to cgi, my rewrite rules on one of my sites stop working Sample url: http://examplesite.com/ad/123-abcde/ The rewrite rule for this is below;

[PHP] call_user_func_array how to use on object php = 5.3

2010-06-28 Thread Shaun Morrow
I am working on code that implements a delegate design pattern, this makes use of the call_user_func_array function. I am having trouble with this particular line in PHP 5.3 return call_user_func_array(array($delegate, $methodName), $parameters); $delegate is an object, and not simply the class