start.cgi

来自「Unix下基于Web的管理工具」· CGI 代码 · 共 12 行

CGI
12
字号
#!/usr/local/bin/perl# start.cgi# Start sendmailrequire './sendmail-lib.pl';$access{'stop'} || &error("You are not allowed to start sendmail");$whatfailed = "Failed to start sendmail";$out = `$config{'sendmail_command'} </dev/null 2>&1`;if ($?) { &error("<tt>$out</tt>"); }&redirect("");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?