Sending to .txt

:upset: I’ve been unable to send data to a text file. I am making a news poster for a website, but free or any XML, php MySQL or anything else; so is it possible to send data to a .txt file using no other files? If so please explain the method to me; is it getLocals or something?