Referring to this page: http://phpsec.org/projects/guide/1.html#1.4.1
I believe I understand that PHP Dispatch method allows for all page requests to go through one page instead of having to have everything easily accessible to world, you only have one page accessible and all requests go through that page. Is that correct? Does that mean you have to put a lot of information in the dispatch.php file for each page so it knows where to forward to. I guess I don't really understand what this is supposed to do. Any help would be appreciated.
Thanks!
PHP Dispatch Method
Moderator: General Moderators
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: PHP Dispatch Method
I use the Front Controller pattern. All requests go through one index.php file except for some images and CSS. All the rest (PHP scripts, templates, files) are placed outside of the document root.