Investigating PHP
I am currently working my way through MySQL for Dynamic Websites by Larry Ullman (edition 4).
I currently (December 2012) run php 5.3.10-10 and a mysql 5.1.28 database on apache 2.2.22 server on Ubuntu 12.04 in VirtualBox.
Chapter 11: Review and Pursue
file_info.php: Dec 2012
The php script in the pdf below is an investigation of "glob" as mentioned in the Pursue section
Chapter 11 PHP and MYSQL for Dynamic Web Sites (ed4) by Larry Ullman.
The script also uses "finfo" variants to get information about the files (see php.net site).