// Upload. php
This is the interface for uploading files, which can be made in any editor. Note that
ENCTYPE = "multipart/form-data" section. This must not be an error; otherwise, the server will not know that you are uploading files.
There is nothing else to say. You can do better.
<Html>
<Head>
<Title> File Upload </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
</Head>
<Body bgcolor = "# FFFFFF">
<Br>
<Br>
<Br>
<Br>
<Br>
<Br>
<Br>
<Form enctype = "multipart/form-data" NAME = myform ACTION = do. php METHOD = "POST">
<Table width = "600" border = "1" cellspacing = "0" cellpadding = "0" align = "center" height = "160" bgcolor = "# E2E3FE" bordercolorlight = "& quot; #006699 & quot; bordercolordark = & quot; # FFFFFF & quot;>
<Tr>
<Td colspan = "4" height = "40">
<Div align = "center"> File Upload </div>
</Td>
</Tr>
<Tr>
<Td width = "80" height = "40">
<Div align = "center"> Select Upload File </div>
</Td>
& Lt; td width = "170" height = "40" & gt;
<Div align = "left">
<Input type = "file" name = "myfile">
</Div>
</Td>
<Td width = "80" height = "40">
<Div align = "center"> select the file type </div>
</Td>
& Lt; td width = "170" height = "40" & gt;
<Div align = "left">
<Select name = "type" size = "1">
<Option value = "notification" selected> notification </option>
<Option value = "file delivery"> file delivery </option>
<Option value = "report file"> report file </option>
</Select>
</Div>
</Td>
</Tr>
<Tr>
<Td width = "80" height = "40">
<Div align = "center"> Uploader </div>
</Td>
& Lt; td width = "170" height = "40" & gt;
<Div align = "left">
<Input type = "text" name = "uploader" maxlength = "20">
</Div>
</Td>
<Td height = "40">
<Div align = "center"> upload date </div>
<Div align = "left"> </div>
</Td>
<Td height = "40">
<Input type = "text" name = "date" value = "<? Print (date ("Y-n-j");?> ">
</Td>
</Tr>
<Tr>
<Td height = "40">
<Div align = "center"> </div>
<Div align = "left"> </div>
<Div align = "center"> </div>
<Div align = "center"> file description </div>
</Td>
<Td colspan = "3" height = "40">
<Input type = "text" name = "fileshow" size = "60">
</Td>
</Tr>
<Tr>
<Td colspan = "4" height = "40">
<Div align = "center">
<Input type = "submit" name = "Submit" value = "Upload">
</Div>
</Td>
</Tr>
</Table>
</Form>
</Body>
</Html>