News and Blog > Archive for 1 year ago

1 year ago - 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...
1 year ago - 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...