1 Star 1 Fork 104

码上成功 / VvvebJs

forked from Gitee 极速下载 / VvvebJs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
upload.php 345 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
<?php
//This script is used by image upload input to save the imge on the server and return the image url to be set as image src attribute.
define('UPLOAD_FOLDER', __DIR__ . '/');
define('UPLOAD_PATH', '/');
move_uploaded_file($_FILES['file']['tmp_name'], UPLOAD_FOLDER . $_FILES['file']['name']);
echo UPLOAD_PATH . $_FILES['file']['name'];
JavaScript
1
https://gitee.com/MaShangChengGong/VvvebJs.git
git@gitee.com:MaShangChengGong/VvvebJs.git
MaShangChengGong
VvvebJs
VvvebJs
master

搜索帮助

14c37bed 8189591 565d56ea 8189591