I'm not sure what you mean by 'Formmail', but I will proceed with this assumption:

You have a CGI script that will parse a HTML form, and send an email with the results of the interpretation to an email address supplied at the form.

It depends on your web-server, I've only had experience with Apache httpd

Apache httpd is usually in EITHER:

/usr/local/apache2 OR /var/www In both cases you need to put the script in the cgi-bin directory: /usr/local/apache2/cgi-bin /var/www/cgi-bin You'd have to chmod the script to make it executable:

chmod 755 script.pl And you can access it by:

http://www.mywebsite.com/cgi-bin/script.pl

All local paths mentioned are general *nix (I work with RedHat) so if you're using windows, then I can't tell you where the 'cgi-bin' is, but I know that you'd have to find it to use the scripts.

This again is all assuming that you're hosting the website. If you employ hosting services from another company, then you may well need to find out where their 'cgi-bin' is and if you have permission to upload into it.

Hope this helped a little

Cheers
Sam

In reply to Re: Formmail with Perl by seaver
in thread Formmail with Perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.