A little php question

Okay, I got an little php question…
Is it possible (if so. how?)
to make a php ( or xml ) form that you write in then it updates an .txt file on my site.
like you type in “hello” in the form and the php sends it to the txt file so inside the text file its now hello…
Thanks for any responces

-Joppe