in reply to Formmail with Perl
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
|
|---|