single php file multiple directories?
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?
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?
