delete certian text from file

I want to take a line of text, we’ll leave that at $textline, and delete it from a file. I’m not sure of all the php functions yet, so help me out, thanks.

don’t work much with text files so check out here ( for the string functions list. You might also wish to check out the regular expression functions (There is a link on the same page).

File stuff:

Look at [phpref]preg_replace[/phpref].

Sponsor our Newsletter | Privacy Policy | Terms of Service