PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 581 All time: 5,318 This week: 673Up
Version License PHP version Categories
phpuri 1.0.0GNU General Publi...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
  Performance   Level  
Name: Sebastian Potasiak <contact>
Classes: 8 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 3x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:581
This week:0
All time:5,318
This week:673Up