Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Developing a Recursive Loading Class for Loader Applications in PHP
Jun 18, 2009 @ 15:27:08

DevShed has posted part three of their series looking at loader applications in PHP using the __autoload magic method.

While this file loading class in its current incarnation does a pretty good job, it lacks an important feature that could be added with relative ease. It cannot perform a recursive search through the web server's file system, and afterward include a specified file within a given application.

This article updates their class with a new feature to let the script looking for files recursively in a directory.

tagged: loader recursive tutorial

Link:


Trending Topics: