Loop through folders using Glob()

Programming for Search Engines 101. An area for avid PHP and .NET developers to chat about Programming techniques and how to make better use of search engines.

Moderator: Moderators

Loop through folders using Glob()

Postby Dinoop » Mon Jan 28, 2013 11:47 pm

Are you still using opendir() to loop through folders in PHP? We know this requires a lot of repetitive codes.
The PHP’s glob() is a better solution for this.
Dinoop
 

Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron