FormMail: 403 Forbidden on Submit

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   FormMail: 403 Forbidden on Submit
JNubern
CZ Newbie
JNubern has been a member for over 19 year's 19 Year Member
ireland.gif
Age: 39
Gender: Male
Status: Offline
Joined: Jan 31, 2005
0.00 posts per day
Posts: 2
Points: 118
   
Having in issue while trying to work with formmail, when I try a test submission I'm coming up with this error:

Forbidden
You don't have permission to access /formmail.php on this server.


Here's my code for the test form:



<Form Enctype="multipart/form-data" Action="formmail.php" Method="Post">
<input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
<input type=hidden name="recipient" value="name@domain.com">
<input type=hidden name="bcc" value="name2@domain.com">
<input type=hidden name="redirect" value="http://www.google.com">
<input type=hidden name="title" value="Feedback Form Results">
<input type=hidden name="email">

<table border="1">
<tr>
<td colspan="2">form</td>
</tr>
<tr>
<td>subject</td>
<td><input type="text" name="subject"></td>
</tr>
<tr>
<td>phone</td>
<td><input type="text" name="phone_no">
</td>
</tr>
<tr>
<td>test form</td>
<td>form field</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="submit"></td>
</tr>
</table>


</form>




Could anyone offer some insight as to what I'm doing wrong?


Back to top Reply with quote
#2   re: FormMail: 403 Forbidden on Submit
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
Did you use the Power Tools to install formmail?



Back to top Reply with quote
#3   re: FormMail: 403 Forbidden on Submit
JNubern
CZ Newbie
JNubern has been a member for over 19 year's 19 Year Member
ireland.gif
Age: 39
Gender: Male
Status: Offline
Joined: Jan 31, 2005
0.00 posts per day
Posts: 2
Points: 118
   
No, I coded it independently.



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Remove this (unless you uploading files):

Enctype="multipart/form-data"


Capitalize the entire word POST.

These are not defined nor are they variables:

<input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">


Whats this do?

<input type=hidden name="email">


Try using the FULL URL to the script also to make sure the script isnt hiccupping.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum