這里alertmes($mes,$url),照著敲 怎么會在不停的刷新??
equire_once 'dir_func.php';
require_once 'file_func.php';
require_once 'common.func.php';
$path ="filenum";
$path =$_REQUEST['path']?$_REQUEST['path']:$path;
$filename=$_REQUEST['filename'];
$act =$_REQUEST['act'];
$info =readDirectory($path);
$redirect ="index.php?path={$path}";
if($act="createFile"){
//echo $path;
//echo $filename;
$msg = createFile($filename);
? ? ? ? ? ? ?alertmsg($msg,"index.php?path=$path");
2016-08-16
檢查一下自己JS有沒有寫錯(cuò)