# Having a problem with php & Flash Contact form

**URL:** <https://forum.kirupa.com/t/having-a-problem-with-php-flash-contact-form/218560>\
**Category:** Uncategorized\
**Created:** [March 8, 2007, 8:05pm UTC](https://forum.kirupa.com/t/having-a-problem-with-php-flash-contact-form/218560 "2007-03-08T20:05:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lutrell](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@lutrell](https://forum.kirupa.com/u/lutrell)\
**Post date:** [March 8, 2007, 8:05pm UTC](https://forum.kirupa.com/t/having-a-problem-with-php-flash-contact-form/218560/1 "2007-03-08T20:05:58Z")

</div>

**I received and error message(below) when I click the submit button:**

Method Not Allowed  
The requested method POST is not allowed for the URL /contactform/mail.asp.

Apache/1.3.33 Server at [www.Test.com](http://www.Test.com)[URL=“[http://www.hopetodaymagazine.com](http://www.hopetodaymagazine.com)”] Port 80

**my send button has the code below:**

on (release) {  
getURL(“mail.asp”,"",“POST”);  
gotoAndPlay(2);

}

**my mail.asp has the code below:**

\<% @language=“VBSCRIPT”%\>

\<%

Dim myMail, myBody

myBody = myBody & “Email:” & request.form(“email”) & vbcrlf  
myBody = myBody & "Name: "&request.form(“name”) & vbcrlf  
myBody = myBody & “Address:” & request.form(“address”) & vbcrlf  
myBody = myBody & “City:” & request.form(“city”) & vbcrlf  
myBody = myBody & “State:” & request.form(“state”) & vbcrlf  
myBody = myBody & “Zip Code:” & request.form(“zip”) & vbcrlf  
myBody = myBody & “Phone Number:” & request.form(“phone”) & vbcrlf  
myBody = myBody & “Message:” & request.form(“message”)

Set myMail = CreateObject(“CDONTS.NewMail”)

myMail.BodyFormat = 1  
myMail.MailFormat = 1  
myMail.From = request.form(“email”)  
myMail.To = "contactus@testmagazine.com"  
myMail.Subject = “Test Magazine Contact Form”  
myMail.Body = myBody  
myMail.Send

set myMail=nothing

%\>

**I dont know why its not going to the last frame which says “thanks for your email”, but gives the error message above.**
