carrie99 Posted February 17, 2003 Posted February 17, 2003 Hello, all. I have found a cool CGI script online (freebie.) at http://scripts.cgi101.com/ I am looking at: generiform.cgi I understand the "Optional Fields" part. I do not understand all of the "Configure" part: # use the usual modules use strict; use CGI; use CGI::Carp qw(warningsToBrowser fatalsToBrowser); my($cgi) = CGI->new; # CONFIGURE: change this to the proper location of sendmail on your system:[/b] my($mailprog) = '/usr/sbin/sendmail'; # Set the path, so taint mode won't complain. This should be the path # that sendmail lives in! (If you're using /usr/lib/sendmail, then # the path had better be /usr/lib here.) $ENV{PATH} = "/usr/sbin"; # list of domains authorized to call this script: you really SHOULD set this # to avert inappropriate use or spam. my(@allowed_domains) =(".cgi101.com"); &chkdomain; # do some error-checking. my(%reqs) = ("send_to","the e-mail address to send the form data to (typically this is done via a hidden field in the form)"); Anyone who can send me to the correct information - or hold myhand through this!! Appreciate it!! I'm pretty resourcefull - links would be fine Carrie Quote
KevinW Posted February 18, 2003 Posted February 18, 2003 Most of the information you are looking for is on the cPanel front page of your web site. Also, go to http://tch.kwsupport.com/tools.htm and download the env.zip file. It contains a free script (env.pl) that you simply upload to your web site and when you run it , it will give your more info that you probably will ever need! In fact, I have a link there so you can go ahead and run the copy on my web site! HTH, kw Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.