Login   Register  
PHP Classes
elePHPant
Icontem

File: upload.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2003-08-20 05:38
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>