PHP Classes

Rewriter: Rewrite request variables based on the request URI

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 42%Total: 2,416 This week: 1All time: 1,612 This week: 560Up
Version License Categories
rewriter 1.0.0Unspecified (ask ...HTTP
Description 

Author

This class can rewrite request variables by parsing the request URI in a similar way to what the Apache module mod_rewrite does but without using regular expression based rules.

It allows to map a request to an URL like http://webseite.com/pages/index.1.html into the equivalent to a request to http://website.com/index.php?method=pages&page=1 .

The mapping is performed by a script that handles page access errors by using the class to rewrite the request variables.

Picture of Bastian Neumann
Name: Bastian Neumann <contact>
Classes: 1 package by
Country: Germany Germany
Age: ???
All time rank: 113374 in Germany Germany
Week rank: 416 Up16 in Germany Germany Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Data The htaccess file
Accessible without login Plain text file ctr.php Example Sample Script
Plain text file rewriter.class.php Class The Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,416
This week:1
All time:1,612
This week:560Up
 User Ratings  
 
 All time
Utility:62%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:3555