Archive for April, 2004

Calculating a directories size in PHP

Posted on April 5th, 2004 in Code Repository | 1 Comment »

dirsize provides a heavily optimised method for calculating the size of large directories.

Read the rest of this entry »

Recursively copying directories in PHP

Posted on April 5th, 2004 in Code Repository | 38 Comments »

copyr can be used to copy a file, or recursively copy a folder and its contents.

Read the rest of this entry »

Quickly converting a MySQL timestamp to a Unix Timestamp

Posted on April 5th, 2004 in Code Repository | 6 Comments »

mysql2unixtime() converts MySQL timestamps to unix timestamps

Read the rest of this entry »

Converting HTML colours from HEX to RGB

Posted on April 5th, 2004 in Code Repository | 1 Comment »

hex2rgb() converts HTML hexadecimal colour codes into their RGB equivalent

Read the rest of this entry »