How to: Write textarea to file ?
Posted on 2008-06-10
I have a page that is basically one form.
Each horizontal section contains a checkbox and a textarea.
I have a .py script creating the hmtl based on the assignments for the user. So it is different for each user.
And each time the user runs the .py script the page could change based on the assignments for the user.
Each assignment has a checkbox and a textarea.
If the user checks the checkbox I want the name of that input saved. And below each textarea is a submit button.
I want to write to file the name of the check boxes selected, and when the submit button on any of the textareas is pressed to write all of the textareas to a file at /home/public_html.
I also thought I would point out my os is Red Hat and I'm using Mozilla/Firefox.