# Having a problem with php & Flash Contact form

**URL:** <https://forum.kirupa.com/t/having-a-problem-with-php-flash-contact-form/218559>\
**Category:** flash\
**Created:** [March 8, 2007, 8:02pm UTC](https://forum.kirupa.com/t/having-a-problem-with-php-flash-contact-form/218559 "2007-03-08T20:02:01Z")\
**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:02pm UTC](https://forum.kirupa.com/t/having-a-problem-with-php-flash-contact-form/218559/1 "2007-03-08T20:02:01Z")

</div>

[SIZE=4]**I received and error message(below) when I click the submit button:**[/SIZE]

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

[SIZE=4]  
**my send button has the code below:** [/SIZE]

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

}

[SIZE=4]  
**my mail.asp has the code below:** [/SIZE]

\<% @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.
