filesize in php
$file = '/path/to/your/file';
$filesize = filesize($file); // bytes
$filesize = round($filesize / 1024 / 1024, 1); // megabytes with 1 digit
echo "The size of your file is $filesize MB.";
filesize in php
$file = '/path/to/your/file';
$filesize = filesize($file); // bytes
$filesize = round($filesize / 1024 / 1024, 1); // megabytes with 1 digit
echo "The size of your file is $filesize MB.";
php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
filesize in php
$file = '/path/to/your/file';
$filesize = filesize($file);
echo "The size of your file is $filesize bytes.";
get file size in php
$img = get_headers("file URL", 1);
echo $img["Content-Length"];
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us