aspÉÏ´«Îļþ´úÂë
add.html
<html>
<head>
<title>ÎÞ×é¼þÉÏ´«</title>
</head>
<body>
<form method="POST" name="myform" action="xSave.asp" target="_self">
<input name="PicPath" type="text" id="PicPath" readonly="true">
<input name="sPicPath" type="hidden" id="sPicPath">
<iframe id="Upload" src="upload.html" frameborder=0 scrolling=no width="100%" height="20"></iframe>
<img src="" id="objimg" style="display:none;" />
</form>
</body>
</html>
upload.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=javascript>
function check_file()
{
var strFileName=form.FileName.value;
if (strFileName=="")
{
alert("ÇëÑ¡ÔñÒªÉÏ´«µÄÎļþ");
return false;
}
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0">
<form action="upfile.asp" method="post" name="form1" enctype="multipart/form-data">
<input name="FileName" type="FILE" class="tx1" size="20" onChange="window.parent.document.getElementById('objimg').src=this.value;window.parent.document.getElementById('objimg').style.display='';">
<input type="submit" name="Submit" value="ÉÏ´«">
</form>
</body>
</html>
upfile.asp
<!--#include file="upload.asp"-->
<%
Const MaxFileSize=2048 'ÉÏ´«Îļþ´óСÏÞÖÆµ¥Î»k
Const UpFileType="gif|jpg|bmp|png" 'ÔÊÐíµÄÉÏ´«ÎļþÀàÐÍ
set fs=createobject("scripting.filesystemobject")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<%
call upload_0() 'ʹÓû¯¾³ÎÞ×é¼þÉÏ´«Àà
%>
</body>
</html>
<%
sub upload_0() 'ʹÓû¯¾³ÎÞ×é¼þÉÏ´«Àà
set upload=new upload_file '½¨Á¢ÉÏ´«¶ÔÏó
&n
Ïà¹ØÎĵµ£º
<Html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Éú³ÉWordÎĵµ</title>
</head>
<script ......
arr = array(12,52,14,43,24,58,15,64,24,57,17,56,45)
arrLen = ubound(arr)
for i=0 to arrLen-1
for j = 0 to (arrlen -1)-i
if arr(j)>arr(j+1) then
temp = arr(j)
arr(j)= arr(j+1)
arr(j+1) = temp
end if
next
next
for each l in arr
response.Write l&"< ......
·Ï»°ÉÙ˵,¼û´úÂë
<%=request.ServerVariables("LOGON_USER")%>
Ê×ÏÈIISËùÔڵķþÎñÆ÷Òª¼ÓÈëÓò,Æä´ÎÊÇIIS·þÎñÆ÷µÄÉèÖÃ.¼ûͼ1
ͼ2
·þÎñÆ÷ÉèÖúúó, IISËùÔڵķþÎñÆ÷ʹÓÃ
<%=request.ServerVariables("LOGON_USER")%>
¾ÍÄÜ»ñÈ¡µ½ÓòÃû³ÆºÍÓû§ÃûÁË.
Èç¹û·ÃÎÊÕßûÓмÓÈëÓò,»áÌáʾµÇ¼,ÈçÏÂͼ.Ê ......
ASP¸ß¼¶¼¼Êõ¾«Ñ¡¼¯
Ò»¡¢GetRowsµÄʹÓ÷½·¨£º
<%
Set conn=Server.CreateObject("Adodb.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.Mappath("test.mdb")
Set Rs=Server.CreateObject("Adodb.Recordset")
Rs.Open "Select Top 2 * from ±íÃû",conn,0,1 &nb ......
JMAIL°²×°ÅäÖÃ
jmail·¢ËÍÓʼþµÄʵÀý´úÂëÍøÉϺܶà.µ«ÊÇÓÐЩϸ½ÚÈç¹û²»ÅäÖúÃ,·¢ËÍʧ°ÜµÄ¿ÉÄÜÐԺܴó.
Ê×ÏÈ˵Ã÷Ò»ÏÂjmail°²×°ÅäÖò½Öè:
1. JMail ÏÂÔØµØÖ·
http://hbdx3.skycn.com/down/w3JMail43Personal.exe
2.°²×°
±¾ÈËÔÚWindows 2003ÏÂÃæÅäÖÃ,ÆäËüϵͳ»¹Ã»ÓвâÊÔ.
°²×°µ½Ä¿Â¼±ÈÈç: C:\Program Files\Dimac\w3JMai ......