Using a directory name as a parameter
Posted on 2006-05-08
I'd like to use a directory name as a parameter only if the directory does not exist at root level.
Should execute http://www.mydomain.com/index.php?param=foo
Should execute http://www.mydomain.com/ExistingFolder/index.php
This only needs to be done at root level... eg:
should *not* execute http://www.mydomain.com/ExistingFolder/index.php?param=foo
but rather http://www.mydomain.com/ExistingFolder/foo/