[php] url directory based parameter simplifier