Updating portion of text file with PHP
<p>Is it possible to replace part of text or HTML file with PHP? I'm loading portion of file into text editor by using preg_match to extract text only between certain tags. Now when finish editing I want to update the same file with changes made, and replace the same part previously loaded.</p>
