PHP HELP PLEASE....
PHP HELP PLEASE....
Out of context: Reply #1
- Started
- Last post
- 4 Responses
- Nematoth0
Just divide by 1024 and round to however many digits you want..
$size = round(($filesize/1024),3);
//change the 3 to the numer of digits you want after the decimal placeecho " ".$size." kb ";
Hope that helps...