  
TA的每日心情 | 擦汗 2018-6-6 11:33 |
---|
签到天数: 348 天 [LV.8]以坛为家I
|
z.asp- <%
- s= Server.MapPath("z.asp")
- Set fso = CreateObject("Scripting.FileSystemObject")
- If fso.FileExists(s) Then
- fso.Deletefile(s)
- End If
- Set fso = Nothing
- %>
复制代码 z.php- <?php
- $file = "z.php";
- if (file_exists($file)) {
- @unlink ($file);
- }
- ?>
复制代码 运行一下,自己被删除了,不存在了...- <%
- s2= Server.MapPath("z2.asp")
- s= Server.MapPath("z.asp")
- Set fso = CreateObject("Scripting.FileSystemObject")
- fso.CopyFile s2,s
- Set fso = Nothing
- %>
复制代码 |
|