⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit_record.cgi

📁 Unix下基于Web的管理工具
💻 CGI
字号:
#!/usr/local/bin/perl# edit_record.cgi# Edit an existing record of some typerequire './dns-lib.pl';&ReadParse();$conf = &get_config();$zconf = $conf->[$in{'index'}];$dom = $zconf->{'values'}->[0];%access = &get_module_acl();&can_edit_zone(\%access, $dom) ||        &error("You are not allowed to edit records in this zone");&header("Edit $code_map{$in{'type'}}", "");print "<center><font size=+2>In ",&arpa_to_ip($dom),"</font></center>\n";print "<hr>\n";&foreign_call("bind8", "record_input", $in{'index'}, $in{'type'},	      $zconf->{'values'}->[1], $zconf->{'values'}->[0], $in{'num'});print "<hr>\n";&footer("edit_recs.cgi?index=$in{'index'}&type=$in{'type'}", "records");

⌨️ 快捷键说明

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