摘要:
将up.php拷贝到网站根目录,根目录创建uploads文件夹用于存储上传文件,配置权限.一,普通文件上传(完成上传返回201)curl -F "action=upload" -F "Filedata=@a.file" -v "http://127.0.0.1/up.php"* About to connect() to 127.0.0.1 port 80 (#0)* Trying 127.0.0.1... connected> POST /up.php HTTP/1.1> User-Agent: curl/7.23.1 阅读全文