News & Blog

Using PHP to Find Files with Name Containing a Wildcard

August 24th, 2011 - Posted by Steve Marks to PHP, Web Development.
When there’s a need to find files within a directory that contain a specific string or extension we can use the PHP function glob(). This can be particularly useful if, for example, we only want image files that end in ‘_thumb’ or when we want to get a list of all the .tx...

jQuery .find() Not Working in IE with Dynamic XML File

August 23rd, 2011 - Posted by Steve Marks to Javascript / jQuery, PHP, Web Development.
This problem arose for me when I was loading markers onto a Google map using their JavaScript API via an AJAX call and a returned XML string generated by PHP. The markers would show in all browsers except IE with no errors or warning messages at all. The script seemed to be failing when lo...