From the blog:
Recursively deleting directories via FTP
ftp_rmdirr()
allows the deletion of whole directory trees on remote servers via FTP.
Recursively deleting a folder in PHP
rmdirr()
allows the deleting of a folder, along with the folders contents.
Recursively creating directory structures
mkdirr
allows you to create whole directory trees independent of what folders exist in the path.
Recursively copying directories in PHP
copyr
can be used to copy a file, or recursively copy a folder and its contents.
Quickly converting a MySQL timestamp to a Unix Timestamp
mysql2unixtime()
converts MySQL timestamps to unix timestamps
Quick JavaScript email obfuscation
mail_obfuscate
allows you to quickly obfuscate an email address in JavaScript to prevent spambots harvesting the address.
Quick and easy random string generation
str_rand()
provides a quick wrapper for customised random string output.
Outputing a MySQL result in a HTML table
mysql_draw_table()
outputs a MySQL result set as a HTML table.
Making time periods readable
time_duration()
is a flexible function for making time periods readable.
Improved PHP syntax highlighting
PHP_Highlight
uses PHP’s built in tokenizer to provide reliable syntax highlighting for PHP code when server-side highlighting is required.