关于phpURL连接小疑点

WBOY
Release: 2016-06-13 11:53:46
Original
1582 people have browsed it

关于phpURL连接小问题
guang.com/baobei/goto?proId=5854525&src=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D25446476659&pmId=8247769
问题1 比如上面网址,这个goto后面没加文件后缀比如goto.php也可以,为什么呢?
问题2 另外这个网址是不是防止百度对其页面的屏比呢,程序的实现是不是先跳转到goto页面,然后这个goto页面进行JS跳转呢?
------解决方案--------------------

guang.com/baobei/goto?proId=5854525&src=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D25446476659&pmId=8247769
Copy after login

是对
guang.com/baobei/goto/index.php?proId=5854525&src=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D25446476659&pmId=8247769
Copy after login

的简化写法(默认文档名可略去)

url 参数中的
src=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D25446476659
是一个源 http://item.taobao.com/item.htm?id=25446476659
guang.com/baobei/goto/index.php 需要做一些处理后再转向他,所以没有写成直接跳转

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