Submit Your Article Forum Rules

Results 1 to 8 of 8

Thread: Form problems using Visual Form Mail

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    14

    Form problems using Visual Form Mail

    Hi,
    I am having difficulties getting my form to operate on a new site and I cannot get support from Visual Form Mail during the holiday break.
    The cgi code appears correct along with permission at 755 and the html script for the form is correct( I think)
    I suspect the path to sendmail is incorrect
    I have a Linux server and cPanel where it says Path to sendmail /usr/sbin/sendmail. I have seen other mail programs that require some change to the sendmail path in the cgi script.
    The page is http://www.familyhistoryarticles.com/contacts.php
    Can any one offer and suggestions? Thank you.

  2. #2
    Senior Member Faglork's Avatar
    Join Date
    Feb 2005
    Posts
    954
    - do you get any error messages?
    - did you check your server error log?

    faglork

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    14
    Hi Faglork,

    I do not get any error message, nor any errors in the server error log. The email just does not arrive in my inbox. The email system works normally though.

  4. #4
    Junior Member
    Join Date
    Dec 2003
    Posts
    14
    Fixed! Coding error. Thank you

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    7
    Whatever

    You might also want to consider FormMail available at www.tectite.com. Since you are already using php pages this php script works very nicely and can also help to hide your email addresses from spam bots, send to multiple emails, use multiple forms etc. It is available as a free download.http://www.tectite.com

  6. #6
    Senior Member DrTandem1's Avatar
    Join Date
    Oct 2003
    Posts
    1,828
    Just a word of warning for those of you hand-coding. Many form scripts such as this on CGI and PHP are being hijacked to turn your site into a spam email server. You need to be sure to strip code from the form that a user may enter that would produce line breaks and Cc mailings.

    I would also suggest to block attempts at people entering invalid email addresses and email addresses that use your site's own domain.

    Lastly, I think the PHP versions are superior to CGI and simpler to use.
    DrTandem's San Diego Web Page Design, drtandem.com

  7. #7
    Senior Member Faglork's Avatar
    Join Date
    Feb 2005
    Posts
    954
    Quote Originally Posted by DrTandem1
    Just a word of warning for those of you hand-coding. Many form scripts such as this on CGI and PHP are being hijacked to turn your site into a spam email server. You need to be sure to strip code from the form that a user may enter that would produce line breaks and Cc mailings.

    I would also suggest to block attempts at people entering invalid email addresses and email addresses that use your site's own domain.
    Words of wisdom! But this also is true for almost all freely available formmail scripts, if you check the code, there is no parameter checking at all. How about a list of secure formmail scripts?

    I can suggest two:
    http://nms-cgi.sourceforge.net/scripts.shtml (PERL)
    http://www.stadtaus.com/en/php_scripts/formmail_script/ (PHP)

    Both have a bunch of security features, I have used them for quite a while and they seem OK (i.e. I had no spamming problems so far).

    I had a look at the source of the tectite script mentioned above and it looks okay as well.


    But keep in mind: 100% security is almost impossible.

    Your suggestions / experience?

    faglork

  8. #8
    Senior Member DrTandem1's Avatar
    Join Date
    Oct 2003
    Posts
    1,828
    One other suggestion I offer is not to name the files you use for scripts in such a way that it identifies that it is an email script. For instance, many scripts are named something like sendmail.php. Just name it something else that has no such connotation. Be sure that the associated forms have the script named to match.
    DrTandem's San Diego Web Page Design, drtandem.com

Similar Threads

  1. Form Mail Help
    By scottvnd in forum Web Programming Discussion Forum
    Replies: 2
    Last Post: 10-18-2004, 02:22 PM
  2. Form Mail
    By tltate in forum Graphics & Design Discussion Forum
    Replies: 1
    Last Post: 04-27-2004, 12:46 AM
  3. Form 2 Mail
    By Gentile2x in forum Accessibility and Usability Forum
    Replies: 5
    Last Post: 03-30-2004, 01:05 PM
  4. mail form in flash (MailForm.pl)
    By doobd in forum Flash Discussion Forum
    Replies: 1
    Last Post: 03-22-2004, 11:06 AM
  5. ASP.NET C# e-mail form code
    By ed.quinn in forum Web Programming Discussion Forum
    Replies: 1
    Last Post: 11-09-2003, 09:08 AM

Posting Permissions

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