php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
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);
echo "The size of your file is $filesize bytes.";
filesize in php
$file = '/path/to/your/file';
$filesize = filesize($file); // bytes
$filesize = round($filesize / 1024, 2); // kilobytes with two digits
echo "The size of your file is $filesize KB.";
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