PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
for each increase (ie bytes to kilobytes), divide with 1024
so if you have a number in bytes, and want to show the filesize in megabytes, you should divide the number of bytes with 1048576, since 1024*1024 is equal to 1048576.