sub return_adver { @adver=&readtxtfile($adverfile,1); srand; $ram=int(rand($#adver+1)); ($mark,$chkadverfile,$markend,$last)=s…
chat+client 源代码
汇集 chat+client 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
sub chkdnduser { &lockfile("$filehead$dndfile"); open(DNDFILE,"$filehead$dndfile"); @lines = ; close(DNDFILE); &unlock…
$mytitle="冰花雪夜"; $myversion="V5.0"; $logouturl = "/"; $guestbook="/chat/wwwboard.html"; $cssurl="/mystyles.css"; $logincishu=…
sub displaycount { opendir (MEMBERDIR, "$memberspath"); @members = readdir(MEMBERDIR); closedir (MEMBERDIR); $found = 0; …
sub checkip { #$userip=$ENV{'REMOTE_ADDR'}; open(PASSWD,"$filehead$kickipfile"); @lines = ; close(PASSWD); @myip…
sub dodisturb { $userid=$username; $dndusernew=&get_var("dnduser"); print "设置$userid的请勿打扰名单\n"; print "\n"; open(DNDFILE,"…
sub return_type { @online =&readtxtfile($onlinefile,2); @online =sort @online; print ""; print ""; print "type\n"…