$Action(); } else { $Controller->Index(); } } //-------------------------------------------------------------------------------------------------------------| // Let me make sure that you understand that this is NOT good code and this is NOT how i am doing my framework. // the idea is very much the same. i'm in a while loop, i'm doing real error checking and it's real sexy. // // now, for this example i'm using one thing. FORUMS and ADD and POST. not the best way to do this of course. // so we'll go through the conditionals and then once we are doing we call the function. it better exist, if // not the site will crash but right now who cares? this is an idea of how this bitch works. so, once the // function is called we do whatever is in there. // // BAM! it's done. // // what i'm trying to do with this is that once it gets all the info from the URL i will call a C++ class // and function (after i get the namespace ;)) and then i would take over from there. that is the idea. //-------------------------------------------------------------------------------------------------------------| ?>