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

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

WBOY
WBOYOriginal
2016-06-13 12:33:081001browse

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

1.php
  echo '1';
?>

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

会输出 1

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

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