Write data to text file from form

by 3 replies
4
I'd like to create a form with several fields, which will
write the contents of each of the fields and store
them in a text file.

==============================================
Form
==============================================

Field 1: [_________________]
Field 2: [_________________]
Field 3: [_________________]
Field 4: [_________________]
Field 5: [_________________]
Field 6: [_________________]
Field 7: [_________________]

[ SUBMIT BUTTON]

==============================================


When the user submits that form, the information
gets written to a text file, where each of the fields
can be retrieved by using a PHP "include" on a web page.

Any time the user goes back to the form above
and changes the data in any of the fields,
the text file will be overwritten accordingly.

This would be a single user form, accessed behind a standard password protected page.

Thanks, and I'm willing to pay someone to create viable code for this.

Gene
#programming #data #file #form #text #write
  • This is very simple to implement. Is there any specific reason you want to write the contents to a text file? The standard is to use a database such as MySQL for situations such as this.
    • [1] reply
    • Yes, it is a simple script to create, and I would tinker and do it myself but just no time. Someone who knows PHP can whip this out quickly. I need this to be a self-contained process that does not use a database.
  • Update: I have hired someone. Thanks.

Next Topics on Trending Feed