Home > Backend Development > PHP Tutorial > input file获得文件根目录简单实现_PHP

input file获得文件根目录简单实现_PHP

WBOY
Release: 2016-06-01 12:08:10
Original
822 people have browsed it

其实问题很简单
index.html
复制代码 代码如下:



烟台大学体测












upload.php
下面这段js代码就是获得file根目录,然后赋值给hidden类型input,然后就可以交给php or jsp 处理了
复制代码 代码如下:


input file获得文件根目录简单实现_PHP
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template