使用GET方法从URL中收集日期,并在PHP中更改完整的URL


collect date from URL usign GET method and Change Full URL in PHP

我收集product_id &从get方法和url重定向或显示计划url的Count_id值

当用户点击/浏览此链接时示例:http://www.website.com/index.php?product_id=1& count_id = 1023

则浏览器中的用户视图,将显示为:http://www.website.com/

用户无法在浏览器中查看index.php?product_id=1&count_id=1023额外的url。My Site index.php将从URL中收集$product_id$counter_id,并使用一些函数或回叫$product_id$counter_id

和如果可能的话想要设置$product_id$counter_id cookie中的数据

如果你只是想隐藏GET参数那么这里已经有答案了