Tamam şimdiye kadar ben yönlendirici ve denetleyici gibi şeyler yarattık, kendi özel mvc sistemi yapmak için nasıl öğrenme im.
örnek ben bir denetleyici profil sınıf ve bir url www.helloworld.com/args1/args2/args3 var
class Profiles
{
    function index($args1,$args2)
    {
        echo var_dump($args1,$args2);
    }
}
heres yöntemini çalıştırmak benim yönlendirici sınıfın parçası ve parms vardır
        if (is_callable(array($controller,$method))) {
            call_user_func_array(array($controller, $method), $this->params);
        }
so far no error but somehow i need to give a 404. if the $this->params is different then the count(params) in the method that i call at call_user_func_array(array($controller, $method), 
$this->params);
ok what im thinking is if count get params not same as count params at the called class then 404, lets say i can count my $this->params it gave me a 3. but how about the params in the called class ? how can we count params in a called class by call_user_func_array?
Seyir için teşekkürler
Adam Ramazan
