sub donotdisturb { open(DNDFILE,"$filehead$dndfile"); @lines = ; close(DNDFILE); #请勿打扰文件格式 #主用户↑user1;user2;user3; $u…
chat+program 源代码
汇集 chat+program 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
sub allselect { @addwordcolor=&readtxtfile($addwordcolorfile) if ($userlevel>=$level_addwordcolor); @addkuai =&readtxtfile…
sub write_message { #执行录音 require "$chathead/chat-recordit.pl"; &recordit("$_[0]"); &lockfile("$filehead$messagefile"); ope…
sub error { &send_html; $error = $_[0]; #print "Content-type: text/html\n\n"; if ($error eq 'wrong_passwd') { …
#设置COOKIE sub setcookie { $user_name=$username; $user_pwd=$crypassword; $user_id=&get_var('userid'); $user_sex=$usersex; $us…
sub recordit { open(RECORDIT,"$filehead$recordit"); @record=; close(RECORDIT); if ($record[0]==1) { $recordfile="$roomtitle…
sub count { $vflag=0; &lockfile("$filehead$countfile"); open(COUNTFILE,"$filehead$countfile"); @line=; close(COUNTFILE); op…
sub lockfile { } ######################################################################### ################################…
sub usercount { $name=$_[0]; $tempcount=0; open (CHECKPROFILE, "$memberspath/$name$extcount"); @profile = ; close (CHEC…
sub showhelp { &send_html; @readme =&readtxtfile($readmefile); print "$mytitle$myversion"; print ""; print ""; print " …