Home > Backend Development > PHP Tutorial > Simple implementation of input file to obtain the file root directory_PHP tutorial

Simple implementation of input file to obtain the file root directory_PHP tutorial

WBOY
Release: 2016-07-21 15:12:10
Original
1063 people have browsed it

其实问题很简单
index.html

复制代码 代码如下:




烟台大学体测












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



Simple implementation of input file to obtain the file root directory_PHP tutorial

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/326765.htmlTechArticle其实问题很简单 index.html 复制代码 代码如下: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" h...
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