PHP: glob

<Keithblog />

glob($string);

Return an array of pathnames matching a specific pattern.

// Find all CSV files in the /home/var/imports/ directory 
glob("/home/var/imports/hello-*.csv");
Tagged:

Related posts on keithgreer.uk

Magento Code: Check an import directory for new product CSVs and process using a Magmi profile

PHP: header

PHP: str_replace

Magento Code: Include currency switcher in the header or footer with Foundation mark-up

Magento Code: Add a drop down attribute and display it on the product page in custom HTML

Magento header.phtml basic user account and basket code

Magento Issue: Unable to sort configurable product attribute drop down options

WordPress Code: Completely disable comments using functions.php

How to use PHP to submit a cURL request with HTTP Post data