Quick Links

PHP Simple Routing System (Support php 4+)
Feb 10, 2015

PHP Simple Routing System (Support php 4+)

Have you ever wished to have routes in your php website but you do not want to install all those massive frameworks? This is solution for you.


Installation

Pull files from repository and place them in your htdocs

 

Config

Open core/config.php

home - set your index file

pages - set your pages directory

handler - set your error handling page

 

Routes

Open routes.php

Add new route -> Router::add(LINK, ACTUAL-PAGE, NAME)

 

Download from GitLab!


Disclaimer
Terms And Conditions Of Use

All content provided on this IT Center blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site.

The owner of IT Center Blog will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.

This terms and conditions is subject to change at anytime with or without notice.