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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Sep 2009
    Posts
    167
    Thanks
    15
    Thanked 1 Time in 1 Post

    to create a simple "send us an email" form... perl/cgi or php/mysql

    Hello,

    I've been looking into php/mysql to perform exactly one task: to create a "contact us" web page like this:

    your name:

    your email:

    comments:

    Exactly like this web page, but without the dropdown menu options they have:
    http://www.kpmg.com/Global/en/Pages/contactus.aspx


    I've been reading vaguely about something called smtp (simple mail transfer protocol), which involves CGI. But smtp apparently has spam issues associated with it, and it looks like it might be outdated.

    So I've been looking at PHP/MySQL. But I'm not trying to create a "database". I'm looking to have the web visitors comment fields to simply go to an offsite email address that can be read. Worst comes to worst, I could simply put an image up that says "email us at webaddress@companyname.com." But the form like the KPMG one looks nicer.

    So is there something with Perl/CGI that elegantly does this? I've been looking into learning PHP/MySQL for this one capability only. But I've been spinning my tires trying to find a straight-forward book on PHP/MySQL. So I'm willing to learn the basics Perl/CGI instead if it can perform this simple email task well. I'm looking to avoid robot spam and malicious attacks.

    Thanks for any insights.
    Last edited by code beginner; 04-23-2010 at 04:41 PM.

  • #2
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    look up nts-formmail project, I think. search CF for posts by fishmonger and the keyword formmail, heck, I'll do it now...

    http://nms-cgi.sourceforge.net/scripts.shtml

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #3
    Regular Coder
    Join Date
    Jul 2003
    Posts
    117
    Thanks
    0
    Thanked 17 Times in 17 Posts
    The following pages will be useful:
    A simple, easy PHP contact form

    Perl based form mail

  • #4
    New to the CF scene
    Join Date
    Apr 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    great job.
    thanks for your sharing.
    i will do follow


  •  

    Posting Permissions

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