delete.cgi
来自「Unix下基于Web的管理工具」· CGI 代码 · 共 17 行
CGI
17 行
#!/usr/local/bin/perl# delete.cgi# Delete some file or directoryrequire './file-lib.pl';&ReadParse();&switch_acl_uid();print "Content-type: text/plain\n\n";if (!&can_access($in{'file'})) { print &text('delete_eaccess', $in{'file'}),"\n"; exit; }$out = `rm -rf "$in{'file'}" 2>&1`;if ($?) { print $out; }else { print "\n"; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?