Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP ¶àͼƬÉÏ´«

1£ºÉÏ´«Ò³Ãæ
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÉÏ´«Í¼Æ¬</title>
<style type="text/css">
* { margin:0;padding:0;}
#file_group { list-style:none;}
#file_group li { background: url(icon_file.gif) no-repeat left; padding-left:25px; height:24px;}
#file_group input{ height:24px;line-height:22px;font-family:Verdana;}
#file_group button{ height:24px;}
#add{width:39px}
a:link {
 color: #000000;
 text-decoration: none;
}
a:visited {
 color: #000000;
 text-decoration: none;
}
a:hover {
 color: #FF0000;
 text-decoration: none;
}
a:active {
 text-decoration: none;
}
</style>
<script type="text/javascript">
var file_num=1;
function addFile() {
 if(file_num>=10) return alert("Ò»´ÎÖ»ÔÊÐíÉÏ´«10¸öÎļþ£¡");
 var temp;
 temp="<li><input type=\"file\" name=\"mfile" + (file_num+1) + "\" size=\"70\" />&nbsp;<button onclick=\"removeSelf(this)\">ɾ³ý</button></li>";
 var obj=document.getElementById("file_group");
 obj.innerHTML=obj.innerHTML+temp;
 file_num++;
}
function removeSelf(node) {
 var obj=node.parentNode.parentNode.removeChild(node.parentNode);
 file_num--;
}
function chkUpload(){
 var obj=document.getElementsByTagName("input");
 for (i=0;i<obj.length;i++)
 {
  if(obj[i].type=="file")
  {
   if(obj[i].value!="")
   {
    var getStr=obj[i].value.match(/\.(jpg|gif|png|bmp)$/);
    if(!getStr)
    {
     alert("Ö»ÔÊÐíÉÏ´« jpg¡¢gif¡¢png¡¢bmp ¸ñʽµÄͼƬ£¡");
&n


Ïà¹ØÎĵµ£º

Windows XP home°æ°²×°aspÔËÐл·¾³

    ±¾È˵ı¾±¾ÉÏÊÇhome°æµÄXP£¬ÎÞ·¨Õý³£°²×°IIS£¬µ«ÊÇÍøÉϲ鵽¼¸Æª²©ÎÄ£¬ËµÊÇÄÜ°²×°IIS£¬ÓÚÊÇ°´ÕÕÉÏÃæµÄÃèÊöÇ××ÔÊÔÁËһϡ£
    Æä´óÖ·½·¨ÈçÏ£º
    ¡¡1¡¢Ê×ÏÈ´ò¿ªCÅÌWindowsĿ¼ÖÐinfĿ¼ÏµÄsysoc.infÎļþ£¨¿ÉÒÔÔÚÔËÐÐÖÐÖ±½ÓÊäÈë“c:\windows\inf\sysoc.inf&rdqu ......

asp Éú³É¾²Ì¬

<%
Do_Url = "http://"
'Do_Url = Do_Url&Request.ServerVariables("SERVER_NAME")&"/shownews.asp" Ö÷Ŀ¼
aa=Request.Servervariables("url") 'ÐéÄâĿ¼
bb=InstrRev(aa,"/")
cc=left(aa,bb)
Do_Url = Do_Url&Request.ServerVariables("HTTP_HOST")&cc&"index.asp"
call SaveFile("index.h ......

asp¶ÁÈ¡Îı¾ÄÚÈÝ

'**************************************************    
'º¯ÊýÃû£ºFSOFileRead    
'×÷ ÓãºÊ¹ÓÃFSO¶ÁÈ¡ÎļþÄÚÈݵĺ¯Êý    
'²Î Êý£ºfilename ----ÎļþÃû³Æ    
'·µ»ØÖµ£ºÎļþÄÚÈÝ    
'************** ......

PHP±ÈASPÓÅÐãµÄÆ߸öÀíÓÉ ÄÏÈý·½

ASPÊÇ΢Èí¹«Ë¾ÊµÏÖ¶¯Ì¬ÍøÒ³µÄÒ»ÖÖ¼¼Êõ¡£
ASPÖ§³ÖһЩ½Å±¾ÓïÑÔ£¬Ö÷ÒªÒÔVBScriptΪÖ÷¡£
ÓëASPÏà±È½Ï£¬Ä㻹¿ÉÒÔÑ¡ÔñÁíÒ»Öпª·ÅÔ´´úÂë±à³ÌÓïÑÔ——PHP£¬PHP¿ÉÒÔÔËÐÐÔÚ¶àÖÖ²Ù×÷ϵͳÏ£¬ÆäÖаüÀ¨LinuxºÍwindows¡£
ËäÈ»ASPÊÇÒ»ÖÖ²»´íµÄ¼¼Êõ£¬µ«´Ó³¤Ô¶¿¼ÂÇÎÒÏàÐÅPHPÔÚ½«À´µÄ¼¼ÊõÁìÓòÀï»áÓв»·²µÄ±íÏÖ¡£
ÎÒÈÏΪÓÐÆ߸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ