php - error 405 method not allowed in Internet Explorer only -


i'm using simple formmail.pl script contact form. when run it works on safari, mozilla, opera , chrome when test on ie following error:

error 405 method not allowed. requested method post not allowed url/contact_us.html 

i have tried using php script same result. have contacted isp check method post allowed on servers , is. can help?

below form code:

<form id="contact_form" name="contact_form" method="post" formaction="cgi-bin/nms_formmail.pl" align="center" >   <div align="center">       <legend >please fill in form below </legend>      </div>    <p><br />   </p>   <table width="620" border="0" cellspacing="10"  align="center" summary="a form contact clare">   <tr>     <td>         <input type="hidden" name="recipient" value="test@test.ie"> <input type="hidden" name="subject" value="a message online form"> <input type="hidden" name="redirect" value="http://www.test.ie/contact_thank_you.html">         </td>     </tr>     <tr>         <td align="right"><label for="realname">           <div align="right"><font color="#0776a0">name</font></div>         </label></td>         <td>           <div align="left">             <input type="text" name="realname" id="realname" size="40" accesskey="1" tabindex="n" required />           </div></td>       </tr>       <tr>         <td align="right"><label for="email">           <div align="right"><font color="#0776a0">email</font></div>         </label></td>         <td><div align="left">           <input name="email" type="text" size="40" accesskey="2" tabindex="e" required />         </div></td>       </tr>       <tr>         <td align="right"><label for="phone">           <div align="right"><font color="#0776a0">phone</font></div>         </label></td>         <td><div align="left">           <input name="phone" type="tel" size="40" maxlength="40" accesskey="3" tabindex="p" />         </div></td>       </tr>       <tr>         <td align="right"><label for="area">           <div align="right"><font color="#0776a0">what area information regarding?</font></div>         </label></td>         <td><div align="left">           <select name="area" id="area" accesskey="4" tabindex="a">             <option value="courses" selected="selected">courses</option>             <option value="individual">individual sessions</option>             <option value="talks">talks</option>             <option value="other">other</option>           </select>         </div></td>       </tr>        <tr>         <td align="right"><label for="comments">           <div align="right"><font color="#0776a0">message</font></div>         </label></td>         <td><div align="left">           <textarea name="comments" id="comments" cols="45" rows="5" accesskey="c" tabindex="5"></textarea>          </div></td>       </tr>       </table>       <div align="center"><input type="image" src="_images/submit.gif" name="sub" id="submit" value="submit" accesskey="s" tabindex="6" class="buttons" formaction="cgi-bin/nms_formmail.pl" target="_self" /></div>   </form> 

<form id="contact_form" name="contact_form" method="post" formaction="cgi-bin/nms_formmail.pl" align="center" > 

should be

<form id="contact_form" name="contact_form" method="post" action="cgi-bin/nms_formmail.pl" align="center" > 

there no formaction attribute form. reference html forms - basics


Comments