如何在网址中隐藏查询参数及其值 我们考虑一下这个网址
https://example.com/some-url-structure?price=<some price value>
我需要隐藏价格参数以及URL中的价格值,但PHP文件需要获取价格值。
此价格值通过标题从另一页发送,如...
header(Location: https://example.com/some-url-structure?price=<some price value>);
因此,没有使用POST方法的选项,因此我可以隐藏价格参数。