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
 

Contents

Class file image Download
<html>
<head>
<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!")
             document.upload.arquivo.focus()
             return false
         }
}
//-->
</script>
</head>
<body>
<center>
<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">
      <br><br>
      <input type="submit" name="enviar" value="To send">
</form>
</center>
</body>
</html>