问答详情
源自:1-5 创建文件

这里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");


提问者:ansiphp 2016-08-09 23:06

个回答

  • 永恒的小白
    2016-08-16 15:07:40

    检查一下自己JS有没有写错