Hi Everyone,
I have a bunch of files that are being created automatically and half way through the file there is text that says "CONTENT"
I need a simple way to open the file (fopen) and find that word "CONTENT" and replace it with all the code i have in a variable called $newcontent........
Is there any easy way to do this? I've found how to add data to the end of the file but never in the middle of a file or to replace something in the file....
😕