Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

HTML Form Parser

  1. Dec 17, 2005 #1
    OK, so I know how to make a form show itself in a website, how to make a submit button which will send the data entered as an email and I successfully recieve the email. There's only one problem... How do I make the mail readable?? I was forced to make a pascal program which parses the mail and changes it into readable text, but thats not very practicle although successful. How do I program the HTML to send something more sensible? Can I embed a java program in the HTML which will do the trick?

  2. jcsd
  3. Dec 17, 2005 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Use a CGI script (perl, python, etc.) running on the server to convert the form's contents into whatever format you'd like.

    - Warren
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook