User feedback

I want to have user feedback from 1 to 5 for each product page that is generated in xml.

Is it possible to not use php and still be able to record the values to a textfile?