Traverse Directories the Easy Way with Glob() ! Tutorial (File-Manipulation)

There is a powerful yet somewhat unheard of function in PHP titled glob(). Many beginners and intermediates alike struggle with the traversing of directories. Acquiring the directories contents and returning them in a readable format. If only they know how so very easy this task was!Glob was introduced into the PHP function lineup around the time PHP version 4 was released. It’s not a new function in the slightest, but like checkdnsrr() it is a fairly undiscovered function for many.The catchy misnomer that has long been used as a Unix library function, has a similar syntax reminiscent to regular expressions without the expressive power. It allows you to bring back filenames, and also directories, using a straightforward notation.
View Tutorial

VN:F [1.2.2_602]
Rating: 0.0/5 (0 votes cast)

Tags:

Leave a Reply

Tutorials Search
Login

Archives
A virtual library which will collect the best tutorials for each technology and provide them in a single site for free . Ultimately One Stop for all Tutorials
Links
SoMuch.com: Internet Links Directory
Get Adobe Flash playerPlugin by wpburn.com wordpress themes