I wish to read an xml file, change a couple of lines and write it out again. However when I use
fgets, fopen() or fread() PHP strips off the tags and only leave the contents.
I want to be able to read the full file including tags and xml header into an array.
How can this be done?
Novice freddo