Article View: alt.comp.perlcgi.freelance
Article #5Re: how does the formmail work
From: Scott Bryce
Date: Sat, 16 Mar 2002 15:50
Date: Sat, 16 Mar 2002 15:50
40 lines
2262 bytes
2262 bytes
Lacey wrote:
>
> hello helpers.
> I rent my apache server from a fairly unhelpful company when it comes to cgi
> support, so I thought I d ask here.
>
> I made a simple booking for a business customers to fill in. I made this in
> dreamweaver 3 ok no worries.
> I uploaded it to the cgi-bin on the server
> I downloaded from Matts' script archive the formmail.pl
> Is this ok to use with a html inquiry form ? How do the 2 files "talk to
> each" other ?
>
> in the first line of the formmail.pl it says
> --------------------
> #!/usr/bin/perl
> ------------------
> ok, but do I fill in the usr as my domain and the bin as cgi-bin ?. Im not
> sure where the perl application is located, but Ill push on here..
>
> I guessed the next few lines and filled them in:
> ----------------------------
> $mailprog = 'FormMail.pl';
> ----------------------------
>
> @referers = ('my_domain_name_goes_here.com');
> @recipients = my_admin_account_goes_here@referers;
> @valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
>
> # Done
> #
>
> when I run it on the website, it says not configured...
If you are asking questions like these, you are in way over your head!
BTW, Don't use Matt's scripts. They aren't secure. Look here instead:
http://nms-cgi.sourceforge.net/
Technical Details
Message-ID:
<3C9369DB.81235F3F@singlepoint.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<3c92eeed$0$21920$afc38c87@news.optusnet.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fec76,7a7bc0b6240b7bfa X-Google-Attributes: gidfec76,public X-Google-Thread: 108c83,7a7bc0b6240b7bfa X-Google-Attributes: gid108c83,public X-Google-ArrivalTime: 2002-03-16 07:50:31 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Scott Bryce <sbryce@singlepoint.net> Newsgroups: alt.comp.perlcgi.freelance,aus.computers Subject: Re: how does the formmail work Date: Sat, 16 Mar 2002 08:50:51 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3C9369DB.81235F3F@singlepoint.net> X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 References: <3c92eeed$0$21920$afc38c87@news.optusnet.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Lines: 40