Any reason why not to use this function?
Any reason why not to use this function?
Last time I researched iterating over files in a directory I seem to remember coming across something about it not scaling as well as some of the other methods.
The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker
I agree, it isn't or doesn't allow the flexibility that other methods offer.
I am currently using it to return additional images and it is working very well and returns all images and all extensions of the base image name no matter the directory or sub-directory.
Guess I was just wondering if their was a reason it hasn't been used in the Zen Cart Code other than it's flexibility.
Last edited by lhungil; 19 Dec 2013 at 06:04 PM.
The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker
Bookmarks