Mike’s Experiments - PHP: Directory Finder

Sometimes it’s important to know what directory you’re in or to locate a specific directory, say, for creating dynamic pagination or navigation. This is especially challenging if you are working on a database driven site like one using WordPress. This tiny script offers an easy solution.
Get the PHP, source. Go to back to the Mike’s Experiments index.