Login   Register  
PHP Classes
elePHPant
Icontem

Relative Path: Clean file name paths removing redundant elements

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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-16 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 279 All time: 6,749 This week: 1,523Up
Version License PHP version Categories  
relative-path 1.01GNU Lesser General Publ...5.2PHP 5, Files and Folders, Text proces...
Description Author  

This class can clean file name paths removing redundant elements.

It can take a string with a file or directory path and remove redundant path elements like /./ or // sequences or leading ../ elements from absolute paths.

Picture of Asbjorn Grandt
Name: Asbjorn Grandt <contact>
Classes: 8 packages by
Country: Denmark Denmark
Age: 43
All time rank: 2511 in Denmark Denmark
Week rank: 30 Up1 in Denmark Denmark Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file RelativePath.php Class Main Class
Accessible without login Plain text file RelativePath.Example1.php Example Example and testing facility for RelativePath
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file readme.markdown Doc. Documentation
Accessible without login Plain text file REVISION.TXT Doc. Documentation

 Version Control Reuses Unique User Downloads Download Rankings  
 100%2Total:279All time:6,749
 This week:0This week:1,523Up