<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>
|