Login   Register  
PHP Classes
elePHPant
Icontem

Rewriter: Rewrite request variables based on the request URI

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (9 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,384 This week: 1All time: 1,517 This week: 1,398Up
Version License Categories  
rewriter 1.0Unspecified (ask the au...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: 103468 in Germany Germany
Week rank: 1077 Down52 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,384All time:1,517
 This week:1This week:1,398Up
 User Ratings  
 
 All time
Utility:67%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:-
Examples:53%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1856