True no component uploads, and no database (reprint)

Source: Internet
Author: User
Tags file upload
Upload | data | database | No component upload.htm
----------------------------------
<title>untitled document</title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<style type= "Text/css" >
<!--
td {FONT-SIZE:9PT}
A {color: #000000; Text-decoration:none}
a:hover {Text-decoration:underline}
. tx {height:16px; width:30px; border-color:black black #000000; border-top-width:0px; border-right-width:0px; Borde r-bottom-width:1px; border-left-width:0px; font-size:9pt; Background-color: #eeeeee; Color: #0000FF}
. bt {font-size:9pt; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; h eight:16px; width:80px; Background-color: #eeeeee; Cursor:hand}
. tx1 {height:20px; width:30px font-size:9pt; border:1px solid; border-color:black black #000000; color: #0000FF}
-->
</style>

<body bgcolor= "#FFFFFF" text= "#000000" >
<form name= "Form1" method= "Post" action= "upfile.asp" enctype= "Multipart/form-data" >
<table border= "1" cellspacing= "0" cellpadding= "0" bordercolorlight= "#000000" bordercolordark= "#CCCCCC" width= "91" Height= ">"
<tr>
&LT;TD align= "left" valign= "Middle" height= "a" width= "a" > </td>
&LT;TD bgcolor= "#CCCCCC" align= "left" valign= "Middle" height= "a" width= ">" File Upload </td>
</tr>
</table>
<br>
<input type= "hidden" name= "act" value= "upload" >
<br>
<table width= "71%" border= "1" cellspacing= "0" cellpadding= "5" align= "center" bordercolordark= "#CCCCCC" bordercolorlight= "#000000" >
<tr bgcolor= "#CCCCCC" >
&LT;TD height= "align=" "left" valign= "Middle" bgcolor= "#CCCCCC" > Transformation Programming World File Upload </td>
</tr>
<tr align= "left" valign= "Middle" bgcolor= "#eeeeee" >
&LT;TD bgcolor= "#eeeeee" height= ">"
<script language= "JavaScript" >
function SetID ()
{
Str= ' <br> ';
if (!window.form1.upcount.value)
window.form1.upcount.value=1;
for (i=1;i<=window.form1.upcount.value;i++)
str+= ' +i+ ': <input type= "file" name= "file ' +i+" "style=" width:400 "class=" tx1 "><br><br>";
window.upid.innerhtml=str+ ' <br> ';
}
</script>
The number of <li> need to upload
<input type= "text" name= "Upcount" class= "TX" value= "1" >
<input type= "button" name= "button" class= "BT" onclick= "SetID ();" Value= "· Set · " >
</li>
<br>
<br>
<li> Upload to:
<input type= "text" name= "filepath" class= "TX" style= "width:350" value= "" >
</li>
</td>
</tr>
&LT;TR align= "center" valign= "Middle" >
&LT;TD align= "left" Id=&qu



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.