Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mohamed Elkholy  >  File Size Helper  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: Demo file
Class: File Size Helper
Determine the file size even if is larger than 2GB
Author: By
Last change:
Date: 2 years ago
Size: 277 bytes
 

Contents

Class file image Download
<?php

require ("filesizeHelper.php");

$filesizeHelper = new FilesizeHelper();

$file 'c:\Just.A.Very.Large.File.avi';
//$file = "/media/disk-1/Just.A.Very.Large.File.avi";

$filesize $filesizeHelper->getFileSize($file);

echo 
"<pre>";

var_dump($filesize);