hi, Is there any function in php through which we can delete / truncate the content of a text file that is before the file pointer/file handler ? can we use truncate? actually im using a function to pick the content from a text file using 2 delimiters, but that function checks only the first instance of the delimiter.. thanks Swati