Home  >  Article  >  Backend Development  >  PHP reports error and automatically jumps

PHP reports error and automatically jumps

不言
不言Original
2018-04-16 16:31:102106browse

The content of this article is about PHP error reporting and automatic jump. It has certain reference value. Now I share it with everyone. Friends in need can refer to it

exit("<script>alert(&#39;您输入的字符不合法,请重新输入&#39;);location.href=&#39;reg.php&#39;;</script>");



The above is the detailed content of PHP reports error and automatically jumps. For more information, please follow other related articles on the PHP Chinese website!

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