When I do filesize() I get a number in Bytes. How can I make it in KBs?
$KB = filesize() / 1024; if ($KB < 1) { $KB = 1; }
Divide it by 1024.