Hello imotic.<br><br>Yeah, I a file where it has information such as <br><br>vikter : bob<br>kein : computer<br>petre : Lrb5sk<br><br><br>Where, the first piece of text is the user name, and the piece after the colon is the password, obviously. I have the program making a file like that, and a file that has all the names and a file that has all the passwords. With what you said, I think that I will use the txt file that has all the information in it, but only one problem, I do not quite, exactly know what you mean by parsing the file. Well I know what parsing it means, I just do not know how to.<br><br>Hmmmm. Thanks for all the help so far, but I am brand new at Perl. I have only started using it about 4 months ago, and I am not quite sure how to parse the text file. Would you use something such as:<br><FONT FACE=monospace><br>read (STDIN, $buffer, $ENV{'CONTENT_LENGTH'});<br>@cgiPairs = split(/&/,$buffer);<br>foreach $cgiPair (@cgiPairs)<br>{<br> ($name,$value) = split(/=/,$cgiPair);<br> $value =~ s/\+/ /g;<br> $value =~ s/%(..)/pack("c",hex($1))/ge;<br> $form{$name} .= "\0" if (defined($form{$name}));<br> $form{$name} .= "$value";<br>}<br></font><br>? I don't think that you would cause that only parses the stuff from the web form, and I am not sure how you would parse it from the txt file?<br><br>Or would you use something like:<br><FONT FACE=monospace> <br>open (FILE,"<<data.txt"

;<br><br>while (<FILE>

{<br><br>$row = $FORM{'deleteuser'};<br>chop $row;<br><br>@fields = split (/\¦/, $row);<br><br>}<br>close(FILE);<br><br></font><br><br>Where $FORM{'deleteuser'} is the text field that you input the users name you want to delete. After that, I want the program to delete the entire line that has the user name on it, everything, including the password.<br><br>Could you post the code that tells me how to do this? If you could, I would be extremely appreciative.<br><br>Thanks for all the help so far. <br>Again, sorry for not clearifying what I needed. Thanks for the help so far though, its really helped.<br>