Login   Register  
PHP Classes
elePHPant
Icontem

PHP URI Class: Convert the request path info string into an array

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-07-15 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 555 This week: 1All time: 4,991 This week: 1,432Up
Version License PHP version Categories  
phpuri 1.0.0GNU General Public Lice...5.0HTTP, PHP 5
Description Author  

This class can be used to convert the request path info string into an array.

It parses the PATH_INFO request variable and splits into parts separated by the slash that are stored in an array class variable.

The class can also check if a given path info segment exists and what is its value.

Picture of Sebastian Potasiak
Name: Sebastian Potasiak <contact>
Classes: 8 packages by
Country: Poland Poland
Age: ???
All time rank: 61717 in Poland Poland
Week rank: 384 Up10 in Poland Poland Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file uri.class.php Class Uri
Accessible without login Plain text file test.php Example Test

 Version Control Unique User Downloads Download Rankings  
 0%Total:555All time:4,991
 This week:1This week:1,432Up