日期:2012-12-07  浏览次数:20378 次

 

$canshuZoneId=1;

}else{

if($canshuZoneId==0) {

continue;

}else{

break;

}

}

}else{

if($canshuZoneId==0) continue;

}//
区域选择结束





$id_temp=substr($value,0,$keylength);

if($id_temp==$actionID){

//
开始取参数

$callback=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($callback)));



$limitSite=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($limitSite)));



$checkFile=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($checkFile)));



$fileType=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($fileType)));



$maxLength=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($maxLength)));



$user=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($user)));



$targetDir=trim(strrchr($value, " "));

$value=trim(substr($value,0,strlen($value)-strlen($targetDir)));



return true;

}else{

continue;

}



}//while
结束,能运行到这一步说明没有找到匹配的ID

return false;



}elseif($actionType=="del"){



//
如果是删除文件操作

while (list($key,$value) = each($fileArray)) {

$value=trim($value);

//
判断参数区域,将参数提取限制在