Home > Backend Development > PHP Tutorial > 操蛋,修复BUG,请教如何修复这个bug

操蛋,修复BUG,请教如何修复这个bug

WBOY
Release: 2016-06-13 12:33:08
Original
995 people have browsed it

操蛋,修复BUG,请问怎么修复这个bug
有2个php文件

1.php
  echo '1';
?>

2.php
  echo '2';
?>
浏览器里输入
http://localhost/1.php/2.php

会输出 1

,为了省去麻烦,我想直接提示浏览器地址非法,该怎么做?

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