PHP & XML Guestbook Tutorial

Sure.

They both work. However 777 means “executable by everyone”. and since you don’t execute the XML file, but only write and read it, setting permissions to 666 is in fact enough.
Only I realized that after writing the tutorial :trout: