No components upload pictures to the database, the most complete solution, (can limit picture format and size) suggested into the essence

Source: Internet
Author: User
"::::::: This program is Yangzi Original::::::::::::;:
":::::: In the sql2000,2000s Test through:::::::
The '::::::: Contact me: qq:21112856,email:yangzinet@hotmail.com::::::::
'::::::: Http://www.tingfo.net::::::
Up.htm
<!--#include file= "inc/domin.asp"-->
<!--#include file= "conn.asp"-->
<title><% =webname%></title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<link rel= "stylesheet" href= "Main.css" type= "Text/css" >
<style type= "Text/css" >
<!--
. tx1 {height:20px; width:30px; font-size:9pt; border:1px solid; Border-color:black Black
#000000; Color: #0000FF}
-->
</style>
<script language= "JavaScript" >
<!--
var bgc_on=new Array ("#74D738", "#FF9C17", "#3278AB", "#486177", "#078C00", "#007ECA")
var bgc_off=new Array ("#4CAD12", "FFB859", "5f9fd0", "577590", "08a700", "009FFF")
function Turnon (obj1,id) {
Obj1.style.background=bgc_on[id];
}
function Turnoff (obj1,id) {
Obj1.style.background=bgc_off[id];
}
-->
</script>
<script language=javascript>
function Check_input ()
{
if (frm.pic.value== "")
{Alert ("Please select a picture to upload");
return false;
}
if (frm.type.value== "")
{Alert ("Please choose a picture type");
return false;
}

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.