【发布时间】:2016-11-02 14:00:22
【问题描述】:
所以,我有一个url,它重定向到另一个执行Double Meta Refresh (cleans referer) 的操作,我只想在url comes with a parameter 时允许看到second url。
当前设置为:
urlA.php --DMR---> urlB.php
我希望用户能够看到urlB only if they come from urlA,但由于中间人已被清除,我认为我无法通过.htacces 中的推荐人进行检查。
所以我在考虑检查一个参数,所以 urlB 只有在特殊参数出现时才能访问,例如:
urlA.php ----DMR---> urlB.php ///NOT POSSIBLE
urlA.php?key=xxxx ----DMR---> urlB.php /// POSSIBLE
提前谢谢你。
【问题讨论】:
标签: php .htaccess url parameter-passing url-parameters