Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-25-2002, 07:42 PM   PM User | #1
gjones2562
New to the CF scene

 
Join Date: Jul 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gjones2562 is an unknown quantity at this point
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
gjones2562 is offline   Reply With Quote
Old 07-26-2002, 06:27 PM   PM User | #2
Shift4Sms
Regular Coder

 
Join Date: Jul 2002
Location: Las Vegas, NV - USA
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Shift4Sms is an unknown quantity at this point
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.
Shift4Sms is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:01 AM.


Advertisement
Log in to turn off these ads.