| GetFile() | ใช้สร้างออปเจ็ค file |
|---|
method:GetFile ( “phpsical-path” )
return type:Object
content:ใช้สร้างออปเจ็ค file
example:Set fsystem = CreateObject ( “Scripting.FileSystemObject” ) virtualpath = Request.ServerVariables ( “PATH_INFO” ) pyhsicalpath = Server.MapPath ( virtualpath ) Set file = fsystem.GetFile ( physicalpath )
comment:Server.MapPath ใช้แปลง virtual-path เป็น physical-path