asp³£ÓÃÎļþ²Ù×÷º¯Êý(Ò»)
<%
'*******************************************************
'º¯ÊýÃû£ºCreateFolder(sPath)
'×÷ ÓÃ: ´´½¨Ä¿Â¼
'²Î Êý£ºsPath : ´´½¨µÄÏà¶ÔĿ¼·¾¶
'·µ»ØÖµ£º³É¹¦ true , ʧ°Ü false
'*******************************************************
'response.Write createfolder("/dgsunshine/UploadFile/demo1/")
Function CreateFolder(sPath)
On Error Resume Next
Dim Fso,Arrfolder,Folder,i,j
If sPath="" then
CreateFolder = False
Exit Function
End If
If Left(sPath,1) = "/" Then
Folder = "/"
sPath = Mid(sPath,2,Len(sPath))
Else
Folder = "./"
End If
if Right(sPath,1) = "/" then sPath = Left(sPath,Len(sPath)-1)
ArrFolder = Split(sPath,"/")
Set Fso = Server.CreateObject("Scripting.FileSyste
Ïà¹ØÎĵµ£º
<!--#include file=common.asp-->
<%
'**********************************************
' code by aspµ¼³öexcelͨÓÃ
' ÐÞ¸ÄÒýÓà by ×ÓÑÔ(jastudio)
' qq:23638564 email:kpggdf@163.com
' web:www.gdsspt.com
'**********************************************
dim xibua
dim mysql
xibua = request ......
http://www.w3school.com.cn/asp/met_mappath.asp
¶¨ÒåºÍÓ÷¨
MapPath ·½·¨¿É°ÑÖ¸¶¨µÄ·¾¶Ó°Éäµ½·þÎñÆ÷ÉÏÏàÓ¦µÄÎïÀí·¾¶ÉÏ¡£
×¢ÊÍ£º´Ë·½·¨²»ÄÜÓÃÓÚ Session.OnEnd ºÍ Application.OnEnd ÖС£
ʵÀý
ʵÀý 1
¾ÙÀý£¬Îļþ test.asp λÓÚ C:\Inetpub\wwwroot\Script¡£
Îļþ Test.asp (λÓÚ C:\Inetpub\wwwroot\Script) °üº ......
¡¡Ò»¡¢ »·¾³ÉèÖÃ
¡¡¡¡·þÎñÆ÷¶ËµÄ»·¾³ÉèÖôӲο¼Êý¾ÝÉÏ¿´£¬Î¢ÈíϵÁеÄÉèÖÃÓ¦¸Ã¶¼ÐУ¬¼´£º
¡¡¡¡1£®Win9x+PWS+Office
¡¡¡¡2£®Win2000 Professional+PWS+Office
¡¡¡¡3£®Win2000 Server+IIS+Office
¡¡¡¡Ä¿Ç°±ÊÕß²âÊԳɹ¦µÄ»·¾³ÊǺó¶þÕß¡£OfficeµÄ°æ±¾Ã»ÓÐÌرðÐèÇ󣬿¼Âǵ½¿Í»§»úÉèÖõIJ»È·¶¨ÐÔºÍϼæÈÝÌØÐÔ£¬½¨Òé·þÎñÆ÷¶ËOf ......
ÓÉÓÚÏÖÔÚÔÚ¹«Ë¾¸ºÔðÖÆ×÷±ê×¼µÄ¾²Ì¬Ò³Ã棬ΪÁËÔöÇ¿¿Í»§ÌåÑ飬ËùÒÔ¾³£Òª×öЩAJAXЧ¹û£¬Ò²Ñ§ÄãÒ²ºÍÎÒÒ»ÑùÔÚ£¬Ñ§Ï°AJAX¡£¶øÉè¼ÆAJAXʱʹÓõÄÒ»¸öÖØÒªµÄ¼¼Êõ£¨¹¤¾ß£©¾ÍÊÇXMLHTTPRequest¶ÔÏóÁË¡£ÕâÀﺣХ°ÑÎÒѧϰXMLHTTPRequest¶ÔÏóµÄÒ»µã×ÊÁÏÄóöÀ´¸ú´ó¼ÒÒ»Æð·ÖÏí¡£ÎÄÖеÄ×ÊÁ϶¼ÊǺ£Ð¥ÔÚѧϰʱÔÚÍøÉÏÊÕ¼¯µÄ£¬Èç¹ûÄú¿ª¹ý£¬ÄǾÍÔÙ ......