> Quick one, how do i read a file for a key word, say "TEXt", and the delete > the rest of the remaining file?
Do you mean: a) how do i make sure a word (eg "foo") is in a file, and if it is, delete all contents of the file except the word "foo" OR b) how do i search a file for the word "foo", and delete everything in the file AFTER the word "foo" ?? Justin French -------------------- http://Indent.com.au Web Development & Graphic Design -------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php