skixc Posted April 13, 2007 Share Posted April 13, 2007 Hi - I would like to replace a single line in a text file. The initially i only had to have a single line so I could just use fputs to rewrite the entire file. Now I have three lines and want to selectively replace one of them... Thanks! Link to comment https://forums.phpfreaks.com/topic/46904-replace-a-line-in-a-text-file/ Share on other sites More sharing options...
clown[NOR] Posted April 13, 2007 Share Posted April 13, 2007 we solved a problem like that last night... http://www.phpfreaks.com/forums/index.php/topic,135802.msg573286.html#msg573286 Link to comment https://forums.phpfreaks.com/topic/46904-replace-a-line-in-a-text-file/#findComment-228668 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.