Steph
05-15-2002, 01:57 PM
Okay I finally got this script working on my site when testing it but when I upload it to the clients site it won't work. When the Form is filled out it then takes you to the redirect page but the e-mail is never received.
The variable configuration block that is located at the top of the script is #!/usr/bin/perl - which is the correct path to their perl interpreter. The path to the servers sendmail program is /usr/lib/sendmail'.
We have the referers set as:
@referers = ('client.com', 'client IP address');
and the recipients as:
@recipients = ('hr@client.com');
In the actual form we have it set as:
<FORM METHOD="POST" ACTION="/cgi-bin/FormMail.cgi">
<INPUT TYPE="HIDDEN" NAME="recipient" VALUE="hr@client.com">
<INPUT TYPE="HIDDEN" NAME="Subject" VALUE="Employment Application Form">
<INPUT TYPE="HIDDEN" NAME="redirect" VALUE="http://www.client.com/response.html">
The various text input boxes and then
</FORM>
This client actually hosts their own site, as I have never dealt with someone who hosts their own site I'm unsure of where to go from here. I have a feeling it may be the path on their server to the actual area that I upload their website to. The path to this is /home/groups/home/web - do you think this may be the problem and if so how do I correct this and/or do you have any other suggestions?
The variable configuration block that is located at the top of the script is #!/usr/bin/perl - which is the correct path to their perl interpreter. The path to the servers sendmail program is /usr/lib/sendmail'.
We have the referers set as:
@referers = ('client.com', 'client IP address');
and the recipients as:
@recipients = ('hr@client.com');
In the actual form we have it set as:
<FORM METHOD="POST" ACTION="/cgi-bin/FormMail.cgi">
<INPUT TYPE="HIDDEN" NAME="recipient" VALUE="hr@client.com">
<INPUT TYPE="HIDDEN" NAME="Subject" VALUE="Employment Application Form">
<INPUT TYPE="HIDDEN" NAME="redirect" VALUE="http://www.client.com/response.html">
The various text input boxes and then
</FORM>
This client actually hosts their own site, as I have never dealt with someone who hosts their own site I'm unsure of where to go from here. I have a feeling it may be the path on their server to the actual area that I upload their website to. The path to this is /home/groups/home/web - do you think this may be the problem and if so how do I correct this and/or do you have any other suggestions?