服务器列表
This commit is contained in:
20
script/linedata/upload.php
Executable file
20
script/linedata/upload.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-11-03 11:04:15
|
||||
* @LastEditors: kangkang
|
||||
* @LastEditTime: 2020-11-06 11:18:36
|
||||
*/
|
||||
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header("Access-Control-Allow-Methods: *");
|
||||
header('Access-Control-Allow-Headers:*');
|
||||
header("Access-Control-Allow-Credentials: true");
|
||||
|
||||
if(move_uploaded_file($_FILES['file']['tmp_name'],__DIR__.'/2288.csv')){
|
||||
echo "上传成功";
|
||||
}else{
|
||||
echo "上传失败";
|
||||
}
|
||||
Reference in New Issue
Block a user