Add tags

Add tags to the following comment
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
if(file_exists($filepath)){
            $size = filesize($filepath);
            $unim = array("Bytes","KB","MB","GB","TB","PB");
            $count=0;

            while($size >= 1024 ){
                    $count++;
                    $size = $size/1024;
            }
            $size = round($size,2);
            echo $size.$unim[$count];

    }else{
            echo "not exists";
    }
}

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...