Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2007-04-01 (9 years ago) | Not enough user ratings | Total: 1,005 This week: 1 | All time: 3,503 This week: 1,047 |
Version | License | PHP version | Categories | |||
pfiletree-inc-php 1.0 | Free for non-comm... | 3.0 | Files and Folders |
Description | Author | |||||||||||||
This class can be used to retrieve the list of files and folders of a given directory. |
|
Version 2.1 • has been added Delete() function. you can delete a file or directory. it uses unlink & rmdir functions. if the path to delete is a folder and is not empty the function will run recursively and delete all files and directories within. • fixed displaying url. Version 2.0 • the PTree_DOCUMENT and PTree_NAME constants have been deleted • a new PTree_ALLOWED_KEYS constant has been added and contains a string with all the allowed information items for each file/dir • the ListFiles() function has now 4 possible parameters. The 4th one is a string containing the parameters to be exported • a small bug from the previous version of FileURL() function has been removed (the url-path wasn't calculated correctly) • The FileInfo class is now an extension of the PFileTree class. Before was an independent one • in the previous version, all the parameters of the file/dir were displayed from the class. In this version, in case the parameter has no value, will not be displayed • has been added the constructor function which has 2 parameters. The first one is the host fullpath and the second one is optional, containing a folder for the relocated sites, if exists. • new function: Keys() returns an array with all allowed elements taken from the PTree_ALLOWED_KEYS or from the 4th parameter of the ListFiles() function, if exists. |
Files |
File | Role | Description |
---|---|---|
PFileTree.inc.php | Class | Base class |
example.php | Example | Example file |
readme.txt | Doc. | update info |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.