Login   Register  
PHP Classes
elePHPant
Icontem

Smart URI: Wrap all site requests around a single PHP script

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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-03-10 (9 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 1,911 This week: 1All time: 1,933 This week: 1,547Up
Version License Categories  
smart_uri 1.0FreewareHTTP, Content management
Description Author  

This class can be used to wrap the service of the requests to all pages of a site using a single PHP script.

It takes as argument an array that defines the mapping patterns of request URI to wrapper scripts that should be executed within a safe container when the given URI patterns are matched.

If a wrapper script sets an error variable, the generates a 403 forbidden access HTTP error page.

Request URIs that do not match any pattern make the class generate a 404 not found HTTP error page.

The content outputted by the wrapper script is buffered by the class. It can optionally be served in a compressed format.

Picture of Gregory
Name: Gregory <contact>
Classes: 9 packages by
Country: Russian Federation Russian Federation
Age: 39
All time rank: 1174 in Russian Federation Russian Federation
Week rank: 222 Down7 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageactions (1 file)
Files folder imagelib (1 file)
Accessible without login Plain text file .htaccess Data .htaccess example
Accessible without login Plain text file index.php Example index.php
Accessible without login Plain text file readme.txt Doc. micro howto

  Files folder image Files  /  actions  
File Role Description
  Accessible without login Plain text file index_test.php Example index_test.php

  Files folder image Files  /  lib  
File Role Description
  Plain text file class.driver.inc Class class.driver.inc

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,911All time:1,933
 This week:1This week:1,547Up
User Ratings User Comments (1)  
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:757
 
Excellent
5 years ago (kishore kumar)
80%StarStarStarStarStar