Help for this page

Select Code to Download


  1. or download this
    if (exists $ENV{'GATEWAY_INTERFACE'}) {
        # invoked as CGI
    ...
        exit 0;
    }
    # not invoked as CGI if you get here
    
  2. or download this
    $ENV{PATH}      = "/usr/sbin/sendmail -t -i";        #for sendmail