|
Comments for: dhar20040108
| Message # 1018971: |
|
Date: 02/19/04 11:31
By: Olli Subject: think, this is the right way function File_Size($size) { if($size > 1048576){ return $return_size=sprintf("%01.2f",$size / 1048576)." Mb"; } elseif($size > 1024){ return $return_size=sprintf("%01.2f",$size / 1024)." Kb"; } else { return $return_size=$size." Bytes"; } } |
Previous Message | Next Message |
| Comments: | ||
| RE: upload & download files in PHP | gaurav | 05/27/07 09:32 |
| RE: Uploading Files | sunny | 12/13/05 19:15 |
| upload & download files in PHP | karthik | 06/21/05 03:03 |
| Uploading Files | Edel | 05/31/05 13:38 |
| upload & download files in PHP | sneha | 04/29/05 03:56 |
| uploading file and viewing | sundaravadivel | 01/20/05 23:39 |
| The scripts doesn't work | Ina | 12/08/04 00:36 |
| ummmmmmmmm whats this mummy?? | Sex Beplaced Ru | 12/07/04 09:37 |
| A little suggestion. | opryshok | 03/31/04 04:47 |
| think, this is the right way | Olli | 02/19/04 11:31 |
| Its Printable view is not displayed correctly | Said Bakr | 01/15/04 01:46 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


