FileSizeHelper
==================
## Class for manipulating large files (bigger than 2GB)
This class detects the real file size of a specified file even if the
file size is begger than 2GB, the class also able to format the resulted
file size in KB, MB, GB, TB units which make it more readable.
The class uses several methods to detect bigger file sizes:
1. The native filesize() function
2. Using the cURL module
3. Using the php native seek function
4. Windows COM interface (on windows server)
5. Using external program (exec() function needed)
## Usage
<?php
require ("filesizeHelper.php");
$filesizeHelper = new FilesizeHelper();
$file = 'c:\Just.A.Very.Large.File.avi';
$filesize = $filesizeHelper->getFileSize($file);
var_dump($filesize);
?>
## Updates & Bugs
To see more details about latest release & bugs, go to this URL:
https://github.com/blasten/turn.js/issue
## Changelog
v1.0
- initial release
|