PHP Classes

Vanilla PHP Route Class: Get the path of the script to handle HTTP request

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 132 This week: 1All time: 9,314 This week: 560Up
Version License PHP version Categories
route_view_files 1.0The PHP License7HTTP, PHP 5
Description 

Author

This is a very simple class that can get the path of the script to handle HTTP request.

It can get the URI of a HTTP request and parses it to get its path parts.

The class can return the path of a PHP script that should be loaded to handle this request.

Picture of Muddathir Samir
  Performance   Level  
Name: Muddathir Samir <contact>
Classes: 2 packages by
Country: Sudan Sudan
Age: 34
All time rank: 29101 in Sudan Sudan
Week rank: 411 Up1 in Sudan Sudan Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file example Class example for route class
Plain text file router.php Class router

 Version Control Unique User Downloads Download Rankings  
 0%
Total:132
This week:1
All time:9,314
This week:560Up