我正在寻找带有$_GET参数的另一个子目录中的子目录的目录内容。这是一个例子:
$_GET
从:
https://example.com/john
至:
https://example.com/user/index.php?username=john
我不希望它重定向,只显示/user/index.php?username=john.
/user/index.php?username=john
我还想确保如果文件存在,则改为显示该文件。例如,https://example.com/about不会显示/user/...目录,因为页面存在。
https://example.com/about
/user/...
我怎样才能做到这一点?
米脂
相关分类