I have a file located in a directory called testfolder
on my local disk.
The contents of the file are as follows:
Apples are red. <colour = red/> latitude 13.124165
Would it be possible to retrieve the content of this file, store it in a variable, make some modifications, and then replace its original content?
fopen("C:\testfolder\test.text", 0);
var cont = ``; //store content in a variable?
//modify cont
fwrite(file, cont);