Home > Backend Development > PHP Tutorial > php 获取下一页下一页url

php 获取下一页下一页url

WBOY
Release: 2016-06-13 13:13:27
Original
1698 people have browsed it

php 获取上一页上一页url
如题目所示
例如:
从a.php点取链接到b.php

b.php提交表单到c.php

想在c.php当中获取到a.php的链接和查询字条串(即get)参数.

不知道有没有什么好的方法,当然可以在b.php当中用session保存a.php?query 中的链接地址和query字符串,
但感觉此方法不是太好,请教大家。

------解决方案--------------------
在b.php中提交表单的时候一起把"到a.php的链接和查询字条串(即get)参数"提交过去,放hiden标签里
------解决方案--------------------
没有别的办法,只能带来带去的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template