PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2005-05-08 (11 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,407 All time: 1,556 This week: 902Up
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: 107670 in Germany Germany
Week rank: 1317 Down71 in Germany Germany Down

  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,407
This week:0
All time:1,556
This week:902Up
 User Ratings  
 
 All time
Utility:67%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:-
Examples:53%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2315