Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Web forms for feedback sent to emails to prevent spam

Posted on 2010-11-18
7
Medium Priority
?
469 Views
Last Modified: 2013-12-25
Ok. I want a simply feedback form to replace the current contact us with email links that are currently set up. I suppose there are two ways of doing this. One would be to have the web form sent to our email. Another would be to have the feedback forms stored and viewable to us without going directly to our email. Assuming, I want the web form to go to my email but not have the email be viewable to the public, how would I do this? This would be embedded as html within a cgi script.
0
Comment
Question by:libertyforall2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 34169999
FormMail http://www.scriptarchive.com/formmail.html has been used for years to do that.  There are links to improved version at the bottom of the page.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 34170163
You would be better to do it in PHP, since the PHP email function is SO simple compared to CGI -- I struggled with CGI and Matt's FormMail for several sites, and even the improved versions are a hassle to adapt and change.  With PHP it is so simple, so logical, and so much more secure.

I ended up redoing all my form mail scripts from early sites with PHP, dumping CGI, and have had no problems since.
0
 

Accepted Solution

by:
libertyforall2 earned 0 total points
ID: 34177360
I found a basic script builder for forms and have this below. It is embedded within a larger cgi script. It doesn't seem to work.

print "<div id=MainContent>\n";


print "<form action="/home/vmap/www/cgi-bin/chfeedback.pl" method="post">\n";
print "<table border="0" cellpadding="8" cellspacing="8">\n";
print "<tr><td><label for="tswname">Name</label>:</td><td><input type="text" name="fullname" id="tswname" size="25" /></td></tr>\n";
print "<tr><td><label for="tswemail">Email address</label>:</td><td><input type="text" id="tswemail" name="email" size="25" /></td></tr>\n";
print "<tr>\n";
print "<td colspan="2">\n";
print "<label for="tswcomments">Comments</label><br />\n";
print "<textarea rows="15" cols="45" name="comments" id="tswcomments"></textarea>\n";
print "</td>\n";
print "</tr>\n";
print "<tr>\n";
print "<td align="center" colspan="2">\n";
print "<input type="submit" value="Send Feedback" /><br />\n";
print "Form by <a href="http://www.thesitewizard.com/">thesitewizard.com</a>\n";
print "</td>\n";
print "</tr>\n";
print "</table>\n";
print "</form>\n";


print "<!-- End MainContent -->\n";


0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 34177866
I'm confused.  There is nothing there that can't be just plain HTML on the page.  I thought you had the form and were looking for a way to email it.
0
 

Author Comment

by:libertyforall2
ID: 34199275
I want a contact form that can be filled out and emailed when people have questions.
0
 

Author Comment

by:libertyforall2
ID: 34254207
Any ideas?
0
 

Author Closing Comment

by:libertyforall2
ID: 34324521
ok
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question