single php file multiple directories?
Date: 09/24/06
(PHP Community) Keywords: php
How can I do this?
I have a directory foo. In this directory I'd like to put a single .php file that will be called when any subdirectory of foo is accessed. Like say:
domain.com/foo/alice domain.com/foo/bob
Then I want the php script to be able to pull out the (alice|bob) part of the URL. Is this possible?
Source: http://community.livejournal.com/php/496735.html
|