Jump to content

carrie99

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by carrie99

  1. 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
×
×
  • Create New...