What is the path to Sendmail, Perl, Web Root, etc...?
Sendmail: /usr/sbin/sendmail
Perl: /usr/bin/perl
Date: /bin/date
Whois: /usr/bin/whois
Web directory: /home/username/www
or /home/username/public_html
CGI-bin: /home/username/www/cgi-bin
Replace username with your CPanel username for the account the script is under. Please note, the paths only go as far as the directories above and you may need to add on to them for the specific file or directory your script is calling for, such as: /home/username/www/scriptfolder