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

ASPÖÐÊ®´ó³£ÓóÌÐò´úÂë.£ºµÚÁù½Ú¡´ÎÒµÄÐĵáµ

ÓÃASPʵÏÖÖ§³Ö¸½¼þµÄEMailϵͳ(1)
  
¡¡¡¡´ó¼Ò¾­³£Ì½ÌÖʹÓÃasp£¬¶ø²»Ê¹ÓÃÆäËû×齨ÄÜ·ñʵÏÖÎļþµÄÉÏ´«£¬´Ó¶ø¿ª·¢³öÖ§³ÖÓʼþ¸½¼þµÄÓʼþϵͳ£¬´ð°¸ÊÇ¿ÉÒԵġ£
¡¡¡¡ÒÔÏÂÊÇ·¢ËÍÓʼþµÄÒ³Ã棬ÓʼþµÄÕʺÅÊÇÔ±¹¤ºÅ£¬¼ÙÉèÊÇ5λµÄÊý×Ö£¬sendmail.aspµ±È»ÊÇÔںϷ¨µÇ½ºó²ÅÄܹ»¿´µ½µÄ
£¼html£¾
£¼head£¾
£¼meta http-equiv="Content-Type" content="text/html; charset=gb2312"£¾
£¼link rel="stylesheet" type="text/css" href="/css/FORUM.CSS"£¾
£¼style type=text/css£¾
£¼!--
input { font-size: 9pt; color: #0011dd; background-color: #e9e9f9; padding-top: 0px}
select { font-size: 9pt; color: #0011dd; background-color: #e9e9f9; padding-top: 0px}
textarea { font-size: 9pt; color: #0011dd; background-color: #e9e9f9; padding-top: 0px}
--£¾
£¼/style£¾
£¼title£¾Óʼþϵͳ£¼/title£¾£¼/head£¾
£¼body bgcolor="#FEF7ED"£¾
£¼script language="javascript"£¾
£¼%
if session("myid")="" or len(session("myid"))£¼£¾5 then
response.write "window.open('nolog.asp',target='_top');"
end if
%£¾
function check(theform)
{
if (theform.geterempl.value=='')
{
alert('ÇëÊäÈëÊÕ¼þÈË£¡');
theform.geterempl.focus();
return false;
}
if (theform.emailtitle.value=='')
{
alert('ÇëÊäÈëÖ÷Ìâ!');
theform.emailtitle.focus();
return false;
}
if (theform.emailtitle.value.length£¾200)
{
alert('Ö÷ÌâÇëÉÙÓÚ200×Ö½Ú');
theform.emailtitle.focus();
return false;
}
if (theform.body.value.length£¾15*1024)
{
alert('ÕýÎÄÇëÉÙÓÚ16K');
theform.body.focus();
return false;
}
if (theform.emailshowname.value.length£¾1024)
{
alert('Ç©ÃûÇëÉÙÓÚ1K');
theform.emailshowname.focus();
return false;
}
}
£¼/script£¾
£¼%
meth=request.querystring("meth")
if meth=1 then
geterempl=trim(request.querystring("geterempl"))
emailtitle=trim(request.querystring("emailtitle"))
elseif meth=2 then
mailid=trim(request.querystring("mailid"))
set conn=server.createobject("adodb.connection")
conn.open "DSN=;UID=;PWD="
dsnpath="DSN=;UID=;PWD="
set rs=server.createobject("adodb.recordset")
selectnew="select * from t_mail where ((get


Ïà¹ØÎĵµ£º

±à³ÌÈí¼þaspºÍasp.netµÄÇø±ð


»ú¹¹Ãû³Æ£º    ÈÕÆÚ£º2009 - 09 - 14    ²é¿´´ÎÊý£º
334 ´Î
        ASP.NetºÍASPµÄ×î´óÇø±ðÔÚÓÚ±à³Ì˼άµÄת»»£¬¶ø²»½ö½öÔÚÓÚ¹¦ÄܵÄÔöÇ¿¡£ASPʹÓÃVBS/JSÕâÑùµÄ½Å±¾ÓïÑÔ»ìºÏhtmlÀ´±à³Ì£¬¶øÄÇЩ½Å±¾ÓïÑÔÊôÓÚÈõÀàÐÍ¡¢ÃæÏò½á¹¹µÄ±à³ÌÓïÑÔ£¬¶ø·ÇÃæÏò¶ÔÏó£¬Õâ¾ÍÃ÷Ï ......

½â¾öASP²»ÄܸüÐÂ,Êý¾Ý¿â»ò¶ÔÏóΪֻ¶ÁµÄÎÊÌâ

×î½ü°ï±ðÈË´¦ÀíÏÂÊý¾Ý,·¢ÏÖÌí¼ÓÊý¾Ýʱ,¾ÍÌáʾ"ASP ²»ÄܸüС£Êý¾Ý¿â»ò¶ÔÏóΪֻ¶Á¡£",´ÓÍøÉÏÕÒÁË,ҲûÓнâ¾öÎÒµÄÎÊÌâ.
1¡¢·þÎñÆ÷µÄÊý¾ÝĿ¼mdbÎļþËùÔÚµÄĿ¼£¬ÊÇÖ»¶ÁµÄ
2¡¢Êý¾Ý¿âÔÚ±¾µØµÄȨÏÞ£¬È¥Ö»¶ÁȨÏÞ£¬ÔÙÉÏ´«
3¡¢ÓпÉÄÜÄãÊÇ´ÓÖ»¶ÁĿ¼Òƶ¯µ½¿É¶ÁĿ¼µÄ£¬ËùÒÔÒ»¶¨²»ÄÜÕâôÓã¬ÏÈϵ½±¾µØ£¬ÔÙÉÏ´«£¬¿É½â¾ö´ËÀàÎÊ ......

asp fckeditor×Ô¶¨ÒåÉÏ´«ÎļþµÄÎļþÃû

Ö»ÐèÒªÔÚfckeditor\editor\filemanager\connectors\aspÎļþ¼ÐϵÄcommands.aspÐÞ¸Äһϼ´¿É
ÔÚÕâ¸öÎļþÖвéÕÒһϣºFileUpload
»áÕÒµ½Õâ¸öº¯Êý
°Ñ
´úÂëÈçÏÂ:
Dim sFilePath
sFilePath = CombineLocalPaths(sServerDir, sFileName)
¸ÄΪ
´úÂëÈçÏÂ:
Dim sFilePath,ranNum
Randomize
ranNum=int(90000*rnd)+ ......

ASPÓ¦ÓÃÖ®FSO×é¼þÖ®Îļþ²Ù×÷´óÈ«


'ʹÓÃFSOÐÞ¸ÄÎļþÌض¨ÄÚÈݵĺ¯Êý
Function FSOchange(filename,Target,String)
Dim objFSO,objCountFile,FiletempData
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objCountFile = objFSO.OpenTextFile(Server.MapPath(filename),1,True)
FiletempData = objCountFile.ReadAll
objCountFi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ