clipbucket/upload/actions/get_file_size.php
Arslan Hassan c85412a330 Added : File based language system, now language will be loaded from file instead of database, each time
Added : Remote Play option
Added : Youtube Url Import to frontend
Removed : Background command in upload.php, now all things will be process in 1 place
Update : Upload form
Fixed : Multiple forms at once..
Update : Improved emebd form
Added : Functions for curl check and snatch file
Updated : common.php to load language from file
Added : Refresh lang file option in admin area
Updated: get_form in file_uploader.php
2010-12-29 09:41:11 +00:00

13 lines
No EOL
240 B
PHP

<?php
/**
* this file is used to fetch file size
*/
include("../includes/config.inc.php");
$file_name = $_POST['file'];
$file = TEMP_DIR.'/'.$file_name;
if(!empty($file_name) && file_exists($file))
echo filesize($file);
?>