<?php
$mulum="111";
$name="myadmin";
$f_u="\\";
$yu="myself";
$mulu=$yu.$f_u.$name;
$tihuan="1.gif";
$key=array(".asp",".asa",".php",".jsp",".html",".htm");
if(strstr($tihuan,$key)==false){
echo"<script>alert('上传图像为不可以上传的类型!');history.back();</script>";
}else{
opendir($mulu);
if(is_dir("$mulum"){
echo"<script>alert('相同目录已存在!');history.back();</script>";
}else{
mkdir("$mulum");
closedir($mulu);
}}
?>
出现Parse error: syntax error, unexpected '{' in J:\phphj\APMServ5.2.6\www\htdocs\cs\diy.php on line 13