|
|
|
<?php
//This only works with apache module.
$HTTP_TEMP_PATH_VARS = explode("/",$PATH_INFO);
array_shift($HTTP_TEMP_PATH_VARS);
reset($HTTP_TEMP_PATH_VARS);
$HTTP_PATH_VARS = array();
while( list($index,$key) = each($HTTP_TEMP_PATH_VARS) ) {
list($index,$val) = each($HTTP_TEMP_PATH_VARS);
$val = urldecode($val);
$HTTP_PATH_VARS[$key] = $val;
$$key = $val; //or $GLOBALS[$key] = $val;
}
?>
Instead of 'http://www.server.com/page.php?id=14&this=that'
you may use 'http://www.server.com/page.php/id/14/this/that'
and still have access to $id and $this.
|
|
| Boolean Keyword Interpreter Categories : PHP, Algorithms, Search Engines | | | UDMSearch - a free search engine, indexing system. Categories : Search Engines, Linux, PHP, MySQL, ODBC | | | SubmitForce URL power submitter (searchengine submission class) Categories : PHP, Search Engines, URLs, PHP Classes | | | How to build a search query for any N number of words in a search string Categories : PHP, Regexps, Search Engines, Search | | | Sitmap Generator PHP class Categories : PHP, PHP Classes, Search Engines, Site Planning | | | SiteSearch 1.1:
This app lets end users search your site for keywords. You specify which directories should be included in the search. Categories : Search, Search Engines, PHP | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | Search in Site
Sitesearch v1.1 - Sheridan Saint-Michel modified Show title
of html instead of filename Categories : PHP, Search Engines | | | PageRank Display Categories : Search Engines, HTML and PHP, PHP | | | http://phpMySearch.web4.hm - The phpMySearch search engine system is a completeworld wide web indexing and searching system for a small domain or intranet. Categories : Search Engines, PHP, Databases, MySQL | | | Retrieve text from table and email to your e-
address in pipe delimited format. Categories : PHP, MySQL | | | Accepts a database & hostname from a user and then HTTP username and password. Uses this to connect to a MySQL database. Produces a form based on the tables it finds there to allow the user to do SELECTs, INSERTs, and DELETEs. Categories : Databases, PHP, MySQL, Complete Programs | | | PHP Script to find url links in a page Categories : PHP, URLs, Regexps, Arrays | | | Using $PHP_AUTH_USER and $PHP_AUTH_PW to authenticate. Categories : Authentication, PHP | | | very simple ftp class Categories : PHP, PHP Classes, FTP | |
| | | | Urb LeJeune wrote :549
Doesn`t this scheme require use of the RewriteEnging Apache
directive?
| |
|
|
|