Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Form and CGI Script

    Hello, first off, you guys are great... you help me so much - and I certainly thank you!!

    My question:

    I have a form on my ecommerce site, it's actually a credit application. When a customer completes this it sent using this method:

    <form
    action="mailto:Jane_Doe@acompany.com?subject=CreditApplication"
    method="POST" enctype="Text/Plain"
    name="Credit Application" target=">

    <input type="Submit" value="Submit" onClick="redirect();">

    I use a Windows NT Server, that is an Apache HTTPS server and my companys mail is Lotus Notes. Can anyone provide suggestions on the best scripts or how to write a script that will format the information on my form.

    When I receive a form now via email it looks like this:

    Month=January
    Day=12
    Issued To=
    Firm Name=
    textfieldName=My Company
    textfieldName=Corporation
    Street Address=123 Maint Street
    CITY=Statesville
    STATE=NC
    ZIP=28677
    PHONE=704-871-9652
    FAX=704-875-9696
    COMMENTS=
    type of business=CORPORATION
    FED. TAX #=
    MARITAL STATUS=DIVORCED
    HelloWorld=social
    DEBTOR=
    SOCIAL SECURITY #=
    hiddenName=hiddenValue
    TYPE OF BUSINESS1=

    I want to be able to capture the fields in a better format and I was told a server side script could do that for me.

    A new programmer here, so I'm clueless.

    Any help is appreciated.

    Thanks
    GJones

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Las Vegas, NV - USA
    Posts
    104
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Since e-mail is not secure, it would be safer to store the information server side and simply e-mail a message that a credit application has been saved.

    There are a whole mess of factors here and while it is not that difficult to do what you initially invisioned, to make is "secure" is going to take a lot of work.

    Here is a link to a thread that starts to answer your question, there are probably more: Having a Form print instead of email

    Hope that helps...
    Steven Sommers (blog)
    Shift4 Corporation -- www.shift4.com

    Creators of $$$ ON THE NET(tm) payment processing services.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •