CodeCanyon File Explorer Class 85505

CodeCanyon File Explorer Class 85505

CodeCanyon File Explorer Class 85505
PHP Script \ Miscellaneous
Move \ Rename \ Listing \ Files \ Copy \ Delete \ Extension \ Class


PHP Script - File Explorer Class 85505 by Sitebase @ CodeCanyon

PHP Script \ Miscellaneous

Last Update: 5 February 10; Compatible Browsers: FireFox 2, FireFox 3, IE6, IE7, IE8, Opera, Safari; Software Version: PHP 5.x; Software Framework: N/A; Files Included: PHP.

A. Description
If you already worked with files and directories in PHP then you will know that the default copy, delete(unlink) functions are ok to use on files but when you want to delete or copy a directory with content in it, it’s an whole other story. This class gives you the ability to easily delete, create, move, copy files and directories with content.

B. Features

- Copy files and folders

- Move files and folders

- Rename files and folders

- Delete files and folders

- Create files and folders

- Read and write a file

- Listing the content of a directory

- Get file extension

Easy to use
To big advantage of this class is that is works recursive and that it works the same for directories and files.

If you for example want to delete a directory and all it’s content you can do it like this.

include("File.php");
$File = new Explorer();
$File->SetPath('c:/test/sitebase');
$File->Delete();
If you want to delete a file you can do this.

include("File.php");
$File = new Explorer();
$File->SetPath('c:/test/sitebase.txt');
$File->Delete();
To copy a directory and it’s content you do this.

include("File.php");
$File = new Explorer();
$File->SetPath('c:/test/sitebase');
$File->Copy('c:/test/sitebase_backup');

Google Maps for Mobile Site PRO; Twitter Wall for Mobile Site PRO; Mobile Site PRO; News Widget for WordPress; Testimonials for WordPress; API Client; Html Helper Class.

Keywords: class, copy, delete, extension, files, listing, move, php, rename.



Tags: Class, Listing, Files, Rename, Extension, Explorer

Premium CodeCanyon File Explorer Class 85505 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon File Explorer Class 85505 for digital design and education. CodeCanyon File Explorer Class 85505 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *