Login   Register  
PHP Classes
elePHPant
Icontem

Class: Smart URI

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gregory  >  Smart URI  >  Download .tar.gz .zip  >  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
Related classes: , , ,
Version: -
PHP version: -
License: Freeware
All time users: 1789 users
All time rank: 1846
Week users: 2 users
Week rank: 1677
Picture of Gregory
Author: Gregory <e-mail contact>
Packages: 9 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 36
All time rank: 1194 in Russian Federation Russian Federation
Week rank: 190 Down5 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
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

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Good (83.3%)
Sufficient (75.0%)
Good (83.3%)
-
-
Sufficient (61.7%)
680
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)
Plain text file .htaccess Data .htaccess example
Plain text file index.php Example index.php
Plain text file readme.txt Doc. micro howto

  Files  /  Files folder image actions  
File Role Description
  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 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.