Jump to content

[SOLVED] Problem - Converting Bytes to mb! move_uploaded_file!


Snooble

Recommended Posts

Hey everyone,

 

I'm using "move_uploaded_file" to upload a file to my server, if i use the $_FILES['name']['size'] command i get the size in BYTES. I need the size in mb! What's the best way to do this? So it looks like 2.43mb or 4.92mb. etc.

 

Thank you in advance!

 

Snoobs

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.