Note for JavaScript developers: In PHP, an empty array evaluates to false, while in JavaScript an empty array evaluates to true. In PHP, you can test an empty array as ?phpif(!$stu...www.php.net
Extremely simple function to get human filesize. ?phpfunctionhuman_filesize($bytes,$decimals=2) {$sz='BKMGTP';$factor=floor((strlen($bytes) -1) /3); returnsprintf( %.{$de...www.php.netTIME.rfTime = +new Date;