PHP Classes

File: upload.html

Recommend this page to a friend!
  Classes of Olavo Alexandrino   EasyUpload   upload.html   Download  
File: upload.html
Role: Auxiliary script
Content type: text/plain
Description: Auxiliar HTML
Class: EasyUpload
Handling of files upload via HTML forms
Author: By
Last change:
Date: 20 years ago
Size: 723 bytes


Class file image Download
<title>Class EasyUpload</title>
<script language="JavaScript">
function teste(){
         if (document.upload.file.value=="") {
             alert("She is necessary to select an archive for the Upload!")
             return false
<h2>UPLOAD with PHP<br>Class EasyUpload by "Olavo Alexandrino"</h2>
<form name="upload" action="teste.php" method="post" enctype="multipart/form-data" onsubmit="return teste()">
      Choose the archive:<input type="file" name="file" size="40">
      <input type="submit" name="enviar" value="To send">