I have a download site and I want to know how can I find out the server space via php?
eg:
if($_FILES ...) { if($server_rest_space enough for the file){ // upload it! } else{ echo 'no space on your server enough!'; //there is no space!! }
An important other question if the server is full! and any one uploaded file will fail?
Thank you
source share