Login   Register  
PHP Classes
elePHPant
Icontem

Url Rewriter: Redirect requests according URL rewriting rules

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 (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-11-18 (6 years ago) RSS 2.0 feedStarStarStar 54%Total: 4,512 All time: 570 This week: 1,386Down
Version License PHP version Categories  
url_rewriter 1.0BSD License3.0HTTP
Description Author  

This class can be used to redirect requests based on URL rewriting rules.

It can check whether the current request URL matches one or more rules.

If one of the defined rules is matched, the class determines the path of a PHP script that will handle the request and executes that script using the PHP require command.

If none of the rules matches, the class include the default error script and returns the 404 status code to the browser.

Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 27
All time rank: 71 in Paraguay Paraguay
Week rank: 31 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Files folder image Files  
File Role Description
Files folder imageexample-urlrewriter (2 files)
Accessible without login Plain text file .htaccess Data Apache Regular expression
Accessible without login Plain text file readme.txt Doc. Documentation
Accessible without login Plain text file url_handler.php Example Example page
Plain text file url_rewriter.php Class Main class

  Files folder image Files  /  example-urlrewriter  
File Role Description
  Accessible without login Plain text file error.php Example Example page
  Accessible without login Plain text file index.php Example Example page

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:4,512All time:570
 This week:0This week:1,386Down
User Ratings User Comments (2)  
 All time
Utility:72%StarStarStarStar
Consistency:61%StarStarStarStar
Documentation:63%StarStarStarStar
Examples:63%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1263