PHP Classes
Icontem

Class: PathParser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Carlos Reche  >  PathParser  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PathParser Support forum
Base name: pathparser
Description: Parse URL or file paths and compute relative paths
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 3007 users
All time rank: 750
Week users: 11 users
Week rank: 697
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Carlos Reche
Name: Carlos Reche <e-mail contact>
Published packages: 10 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Home page: ???
Age: 26
All time rank: 49
Week rank: 100

Groups

Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class is capable of parsing absolute or relative URLs or file paths and can compute the relative path to go from a given path to another.

It resolves relative references as /./ or /../, and eliminates consecutive / characters in the input path.

It is an alternative to PHP realpath() function, with two basic differences: it works with real and virtual files, and it returns the path resolved in the same style of the input path. So, if you are parsing a relative path, it will return a resolved relative path, not the absolute path like realpath() function does.

This class can determine the relative path between two files and parse query string to extract the parameter names and values into an array.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (96.4%)
Good (92.9%)
Good (96.4%)
-
-
Sufficient (78.6%)
12
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

File Role Description
Plain text file class.pathparser.php Class PathParser class file.
HTML file documentation.htm Doc. Class documentation
Plain text file example.php Example File with examples of how to use PathParser class.
Download all files: pathparser.tar.gz pathparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products