![]() |
#2
hmhz2007-11-15 20:28
|
Set Fso=Server.Createobject("Scripting.FileSystemObject")
if image<>"" and fso.DriveExists(server.mappath("../uploadfile\"&image))then
Fso.DeleteFile(server.mappath("../uploadfile\"&image))
end if
if fso.DriveExists(server.mappath("../company\"&id&".html")) Then
Fso.DeleteFile(server.mappath("../company\"&id&".html"))
end if
set fso=nothing