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,414 All time: 1,598 This week: 265Up
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.

Name: Bastian Neumann <contact>
Classes: 1 package by
Country: Germany Germany
Age: ???
All time rank: 111972 in Germany Germany
Week rank: 604 Up26 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,414
This week:0
All time:1,598
This week:265Up
 User Ratings  
 
 All time
Utility:62%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:2882
  

For more information send a message to info at phpclasses dot org.