1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Opinion/Advice: writing form data to file on server?

Discussion in 'Web Design & Development' started by BlackFrancis, Apr 18, 2018.

Thread Status:
Not open for further replies.
Advertisement
  1. BlackFrancis

    BlackFrancis It's My Birthday! Thread Starter

    Joined:
    Oct 21, 2006
    Messages:
    212
    Hi,
    I need to find out the most efficient language and file type to use here. The aim is to print data submitted from a simple form to a file on my server, to be somehow presented in an iframe (output wrapped in html/css etc). PHP is off the table as the form will be in an app. Do I necessarily need javascript? Will I run into problems using a txt file as opposed to html or php?

    Thanks
     
  2. JiminSA

    JiminSA

    Joined:
    Dec 15, 2011
    Messages:
    3,195
    When you say that the form will be in an App., in which language is the App. written?
     
  3. BlackFrancis

    BlackFrancis It's My Birthday! Thread Starter

    Joined:
    Oct 21, 2006
    Messages:
    212
    I've no idea as I'm using an app builder service - Andromo - which has an "HTML Archive" function, which is basically a webpage subdirectory that runs HTML/Javascript, contains images and other resources.

    I've discovered that I need php to write to a file, for obvious security reasons. Duh!
     
  4. JiminSA

    JiminSA

    Joined:
    Dec 15, 2011
    Messages:
    3,195
    BlackFrancis likes this.
  5. JiminSA

    JiminSA

    Joined:
    Dec 15, 2011
    Messages:
    3,195
    When you've, gotten your mind around that, we can show you how to pick up the form data and arrange it in your .txt file for subsequent processing ...
     
  6. BlackFrancis

    BlackFrancis It's My Birthday! Thread Starter

    Joined:
    Oct 21, 2006
    Messages:
    212
    Awesome. This helps my project as well as teaches me about php's structure. Luckily I can link the app to a page on my server and maintain the illusion of not leaving the app, so php isn't an issue. Given that it's a publicly-accessible page with a form on it, I have to be certain bots won't find it.
     
  7. JiminSA

    JiminSA

    Joined:
    Dec 15, 2011
    Messages:
    3,195
    I have used these people on a few of my sites - which have never experienced SpamBot attacks ... specifically their ZB Block utility ...
     
  8. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1208875

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice