All pastes #346142 Raw Edit

Something

public text v1 · immutable
·published 2007-02-09 02:46 UTC
rendered paste body
<html>
<head>
  <script type="text/javascript">
<!--
function formcontrol() {
var newfilename = document.mainform.newfilename.value
var close2 = closeIt();

if(newfilename.length == 0) {
alert("You Have To Rename Your File!");
document.mainform.newfilename.focus();
return false;
close2();
}
else
return true;
}
//-->
</script>
</head>
<body>
 
 <form enctype="multipart/form-data" action="./getdata.php" method="post" name="mainform" onSubmit="return formcontrol()">
 <b>Select Your File</b>
 <input name="userfile" size="30" type="file"><br>
 <b>Rename Your File</b>
 <input name="newfilename" size="20" type="text" autocomplete="off"><br>
 <input type="submit" name="Send" value="Send" onClick="loading()">
 <input type="reset" value="Reset">
 </form>
</body>
</html>