Help needed with FormMail.pl CGI

garymum4d

Idiot
Will the CGI script FormMail.pl work with OSX Server?

I want to host a form bassed webpage that emails me the user input. I have set up the FormMail.pl, editing the following line of code:
#!/usr/bin/perl
$mailprog = '/usr/sbin/sendmail -i -t';
@referers = ('MyDomainName','MyIPAddress")
@recipients = &fill_recipients(@referers);

I have given it owner permissions "www" (in get info), in Terminal set "sudo chmod 755 FormMail.pl and placed it into "Library/WebServer/CGI-Executeables" directory.
But this will not work??
I have set up a HTML test page at http://www.screenhouse.kicks-ass.net
 
Back
Top