Monthly Archives: May 2011

Use PHP to get all images in a folder

This: $images = glob($directory . “*.{jpg,gif,png}”, GLOB_BRACE); is awesome.

Posted in Code, Tech | Tagged | Leave a comment