D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
rosario
/
adm
/
app
/
gre
/
Views
/
Cotacao
/
Filename :
VieTesteUpload.php
back
Copy
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Importar dados do Excel</title> <head> <body> <h1>Upload Excel</h1> <form method="POST" action="" enctype="multipart/form-data"> <label>Arquivo</label> <input type="file" id='arquivo'name="arquivo" onchange="javascript: olha(this.value)"><br><br> <input type="submit" name="Enviar" value="Enviar"> <input type="text" name="retorna" id="retorna" > </form> <script> function olha(arquivo){ document.getElementById("retorna").value = arquivo; alert(arquivo); } </script> </body> </html>