katlee49
05-12-2005, 09:53 PM
Can anyone out there help me with this? Here is the perls script in my cgi-bin-
#!/usr/bin/perl
$sendto = "pray\@stpaulslutheranchurch-colon.org"
$ccto = "webmaster\@stpaulslutheranchurch-colon.org"
$useLib="sendmail"
$mailprog = '/usr/sbin/sendmail -I -t ';
@referers = ('stpaulslutheranchurch-colon.org' , '12.164.25.86');
<input type=hidden name="recipient" value="pray@stpaulslutheranchurch-colon.org,webmaster@stpaulslutheranchurch.org">
<input type=hidden name="required" value="yourname,youremail">
<input name="reason">
<input name="request">
<input type=hidden name="redirect" value="http://www.stpaulslutheranchurch.org/thankyou.html">
This is a cgi template I made and put into the cgi-bin (maybe not needed?) in ASCII-
To: pray@stpaulslutheranchurch-colon.org,webmaster@stpaulslutheranchurch-colon.org
Subject: Prayer request
Name? [required-yourname]
Email address? [required-youremail]
Reason for request? [reason]
Prayer request [request]
Here is the form section from my html form which is located in my public_html folder -
<form method="post"
ACTION="http://stpaulslutheranchurch-colon.org/cgi-bin/formmail.cgi">
<p align="left">
Your name
<input name="yourname" size=71>
<p align="left">
Your email address
<input name="youremail" size=57><p>
<p align="center">
Reason for your request
<p align="left">
<input type="radio" name="reason">Anniversary
<input type="radio" name="reason">Blessings
<input type="radio" name="reason">Birth
<input type="radio" name="reason">Hospital
<input type="radio" name="reason">Illness
<input type="radio" name="reason" value="do" checked="checked">Unsaved
<p align="center">
<input type="radio" name="reason">Other<p>
<textarea name="prayer request" rows=20 cols=80>Enter your prayer request here.
</textarea>
<p align="center">
<input type="submit" value="SEND">
<input type="reset" value="RESET">
</form></div>
Really hoping that one of you gurus will take time to look at all this. My host wasn't really very helpful. Gave my the path to perl, path to sendmail and said "The correct way to access it via the web is http://yourdomain.com/cgi-bin/."
Thank you so much. I have spent quite a few hours trying to figure this out as I am a NEWBIE. :eek:
#!/usr/bin/perl
$sendto = "pray\@stpaulslutheranchurch-colon.org"
$ccto = "webmaster\@stpaulslutheranchurch-colon.org"
$useLib="sendmail"
$mailprog = '/usr/sbin/sendmail -I -t ';
@referers = ('stpaulslutheranchurch-colon.org' , '12.164.25.86');
<input type=hidden name="recipient" value="pray@stpaulslutheranchurch-colon.org,webmaster@stpaulslutheranchurch.org">
<input type=hidden name="required" value="yourname,youremail">
<input name="reason">
<input name="request">
<input type=hidden name="redirect" value="http://www.stpaulslutheranchurch.org/thankyou.html">
This is a cgi template I made and put into the cgi-bin (maybe not needed?) in ASCII-
To: pray@stpaulslutheranchurch-colon.org,webmaster@stpaulslutheranchurch-colon.org
Subject: Prayer request
Name? [required-yourname]
Email address? [required-youremail]
Reason for request? [reason]
Prayer request [request]
Here is the form section from my html form which is located in my public_html folder -
<form method="post"
ACTION="http://stpaulslutheranchurch-colon.org/cgi-bin/formmail.cgi">
<p align="left">
Your name
<input name="yourname" size=71>
<p align="left">
Your email address
<input name="youremail" size=57><p>
<p align="center">
Reason for your request
<p align="left">
<input type="radio" name="reason">Anniversary
<input type="radio" name="reason">Blessings
<input type="radio" name="reason">Birth
<input type="radio" name="reason">Hospital
<input type="radio" name="reason">Illness
<input type="radio" name="reason" value="do" checked="checked">Unsaved
<p align="center">
<input type="radio" name="reason">Other<p>
<textarea name="prayer request" rows=20 cols=80>Enter your prayer request here.
</textarea>
<p align="center">
<input type="submit" value="SEND">
<input type="reset" value="RESET">
</form></div>
Really hoping that one of you gurus will take time to look at all this. My host wasn't really very helpful. Gave my the path to perl, path to sendmail and said "The correct way to access it via the web is http://yourdomain.com/cgi-bin/."
Thank you so much. I have spent quite a few hours trying to figure this out as I am a NEWBIE. :eek: