jchibbra
05-21-2003, 04:36 PM
Hi guys,
my question is really simple.
How do I remove 1 line from a text file.
example:
I have a .htpasswd file with several entry.
I would like to remove the line which contain the login: bob
How do I do that when I don't want to put the file in an array, remove the entry from the array and then re write the file with the new array content.
Tks in advance
my question is really simple.
How do I remove 1 line from a text file.
example:
I have a .htpasswd file with several entry.
I would like to remove the line which contain the login: bob
How do I do that when I don't want to put the file in an array, remove the entry from the array and then re write the file with the new array content.
Tks in advance