Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2005-03-10 (11 years ago) ![]() | ![]() ![]() ![]() ![]() | Total: 1,923 | All time: 1,985 This week: 884![]() |
Version | License | Categories | ||||
smart_uri 1.0 | Freeware | HTTP, 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. |
|
SmartURI v0.9.1 (c) Gregory A. Rozanoff, 2004, 2005 ================================================================ "#" - INDEX (root) element. Defines URI like / "*" - INNER element/ Defines all inner pages except INDEX (ex. /inner/instance) "name" - SUB-INDEX element/ Defines all pages like /name/instance The following example describes URIs: http://myhost/ http://myhost/test/ http://myhost/test/any/other/page ---------------------------------------------------------------- $site = array( "#" => "index", ~~~~~ --> Wrapper name /path/to/actions/index.php will be called as a wrapper for http://myhost/ page. "test" => array ( "#" => "index_test", "*" => "index_test", ), ); ---------------------------------------------------------------- URIs like http://myhost/any/page will produce 404 error :) If wrapper not found it poduce a 403 "forbidden" error; URI structure array accessable from wrapper via $_URI variable; If wrapper sets the $_ERROR vatiable into TRUE, it will produce a 403 "Forbidden" error. ================================================================ |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | .htaccess example | ||
![]() ![]() |
Example | index.php | ||
![]() ![]() |
Doc. | micro howto |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.