Jump to content

HOw can i find out file size ?


bapi

Recommended Posts

Or you could half ass it with something like this (if your on a nix system):

 

$sizematters = exec('du -h /the/directory/');

 

echo $sizematters;

 

You can use str_replace() to remove all the crap out of that output you don't need.  I'm going to guess thats not a best practice solution though lol.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.