/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // TESTED: function getMaxFileUploadSize() { return $maxFileSize; } // UNTESTED function getMaxFileUploadSize() { } function _interpretKMG($text) { return $text; } switch ($suffix) { case 'G': $num *= 1024; case 'M': $num *= 1024; case 'K': $num *= 1024; } return $num; }
Comments
