1、
$path = pathinfo("c:/inetpub/wwwroot/new/main.php ");
echo $path["dirname"];2、
mkdir ("dir", 0777);3、
需要注意
1)相对路径和绝对路径
2)大小写问题
3)路径的书写方式
4)还未想到