print "Content-type: text/html\n\n"; open(USR,"$path_to_users"); while(){ if(/^$param1=/){ ($un,$pw,$user_root,$buttons,$imagesize,$usermb,$user_files,$user_email,$super,$auths,$usrtype,$mode)=split(/=/); last; } } if($un){ print qq~~; }else{ print qq~~; } 1;