anyone ever replace just one line in a file with php. i haven't seen anything out there or any built-in functions that could do this. what i'm looking for is something that replaces a line with another. thats it. something like replace_line(current line, new line); you give it the line string you want to replace and also the line string you wish to add in its place. i imagine i will have to write my own or just overwrite the whole file or something. just a little help if anyone has any ideas. thanx in advance.
wazilian
King of Wazil
wazilian
King of Wazil