Home > Backend Development > PHP Tutorial > php跳转语句不同写法的安全性有关问题

php跳转语句不同写法的安全性有关问题

WBOY
Release: 2016-06-13 12:32:39
Original
831 people have browsed it

php跳转语句不同写法的安全性问题
这样写

 echo "Location.href=<span style="color: #FF0000;">'../login.php'</span>;";
Copy after login

和这样写
 echo "Location.href=<span style="color: #FF0000;">/"../login.php/";</span>";
Copy after login

在安全性问题上有什么区别么。

安全
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