File size: 1.16Kb
<?PHP
//get vars from do_upload.php
$called = 1;
include 'do_upload.php';
?>
<html>
<head>
<title> <?PHP print "$ntitle"; ?></title>
</head>
<body>
<div align=center>
<font face="Arial" size="5" color="#6E6E6E">
<?PHP print "$ntitle"; ?>
</font>
</div>
<p>
<div align=center>
<TABLE bgcolor=#B4B4B4>
<TR>
<TD><font face="Arial" size="2">File To Upload:</font></TD>
</TR>
<TR>
<TD><form enctype="multipart/form-data" method="post" action="do_upload.php"><input type="file" name="img1" size="30"></p></TD>
</TR>
<TR>
<TD><input type="submit" name="submit" value="Upload File"></TD>
<TD></TD>
</TR>
</TABLE>
<font face="Arial" size="2" color="#000000">
Supported files are:<BR>
<?PHP
//run through accepted file types
foreach ( $ext as $exts ){
print "$exts ";
}
print "<p>Max file size is ". round((( $max_file_size / 1024 ) / 1024) , 2)."MB";
print "</font>";
print "<p><a href=\"$url/index.php\"><font face=\"Arial\" size=\"2\" color=\"#000000\">Click here to see current hosted files</font></a>";
?>
</div>
</form>
<div align="center">
<font face="Arial" size="1">
File Uploader by UKDragon.com
</font>
</div>
</body>
</html>