Login   Register  
PHP Classes

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

  Author Author  
Picture of Gregory
Name: Gregory <e-mail contact>
Packages: 9 Browse all classes by Gregory Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 38
All time rank: 1164 in Russian Federation Russian Federation
Week rank: 371 Down10 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Gregory  >  Smart URI  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Smart URI
Base name: smart_uri
Description: Wrap all site requests around a single PHP script
Version: -
PHP version: -
License: Freeware
All time users: 1897 users
All time rank: 1915
Week users: 0 users
Week rank: 1665 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Content management Components and tools to manage content View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (75.0%) Good (83.3%) Sufficient (75.0%) Good (83.3%) - - Sufficient (61.7%) 742
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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  /  Files folder image actions  
File Role Description
  Accessible without login Plain text file index_test.php Example index_test.php

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

Download Download all files: smart_uri.tar.gz smart_uri.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.