Home  >  Article  >  Backend Development  >  如何用php实现js的top.document.location

如何用php实现js的top.document.location

WBOY
WBOYOriginal
2016-06-13 10:52:12982browse

怎么用php实现js的top.document.location
含框架页面,想在框架内获取顶层文档的url,即js的top.document.location值,请问各位高手用php怎么实现获取这个值?

------解决方案--------------------
除非用js传递过来,php是取不到的

Statement:
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