Write data to text file from form

3 replies
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
#data #file #form #text #write
  • Profile picture of the author Andrew H
    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.
    Signature
    "You shouldn't come here and set yourself up as the resident wizard of oz."
    {{ DiscussionBoard.errors[8369414].message }}
    • Profile picture of the author Gene Pimentel
      Originally Posted by Andrew H View Post

      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.
      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.
      {{ DiscussionBoard.errors[8369428].message }}
  • Profile picture of the author Gene Pimentel
    Update: I have hired someone. Thanks.
    {{ DiscussionBoard.errors[8369910].message }}

Trending Topics