PHP

PHP Tips and Tricks

Useing glob() to Find Pathnames

Useing glob() to Find Pathnames

The glob() function searches for all the pathnames matching pattern according to the rules used by the libc glob() function, which is similar to the rules used by common shells. The downside of this function is it will not work on remote files as the file to be examined must be accessible via the server’s filesystem and it isn’t available on some systems (e.g. old Sun OS). glob() ...

Read More