Home > Backend Development > PHP Tutorial > 途径好烦啊

途径好烦啊

WBOY
Release: 2016-06-13 12:45:10
Original
941 people have browsed it

路径好烦啊。
此代码文件在  /admin/下 文件名为a.php

<br />
$b=aa;<br />
$a='../'.$b;<br />
mkdir($a,0700);
Copy after login


生成的路径是上一层。那应该就是 /aa/生成一个这样的目录。域名访问 http://a.com/aa/才对啊

上一层老获取不到。

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