1 Star 0 Fork 104

chang87812126 / 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/chang87812/VvvebJs.git
git@gitee.com:chang87812/VvvebJs.git
chang87812
VvvebJs
VvvebJs
master

搜索帮助