Help - Search - Members - Calendar
Full Version: The Requested Method Post Is Not Allowed For The Url /myform.php.
BleepingComputer.com > Internet & Networking > Web Site Development
   
Connor!
I am building a website using Coffeecup visual site designer and also using their form builder. I have followed the instructions but when someone submits the form online they get an error

Method not Allowed. The requested method POST is not allowed for the URL /myform.php.

I dont know much about web design, all I use to upload is my details to 123-reg

Is there something you think I am missing? I cant give much more information because I dont know much about it.
I have uploaded the files that I need to the 123-reg and put the .xml code on the site.

Sorry for lack of info

Thanks
Connor
groovicus
I am just making a guess here since I am not able to view the source code. It appears that the form is sending the form information via the 'POST' method, whereas the .php file that is accepting the form information does not have any code to accept information sent via the 'POST' method, but probably has code to accept the information via the 'GET' method.

Could we see the code from your form, or a link to the website? Also, seeing the code from the .php file would be helpful also.
Connor!
<script type="text/javascript" src="swfobject.js"></script><div id="CC593748"><b>OOPS! </b>You forgot to upload swfobject.js ! You must upload this file for your form to work.</div><script type="text/javascript">var so = new SWFObject("myform.swf", "myform.xml", "267", "534", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("wmode", "transparent");so.addParam("FlashVars", "xmlfile=myform.xml&w=267&h=534");so.write("CC593748");</script>

Is that what you are looking for? It places the form in but it doesnt function correctly. I know it says OOPS! </b>You forgot to upload swfobject.js ! You must upload this file for your form to work but that seemed to be there from the start.

I uploaded the swobject.js on the form builder but it wouldnt let me on the actual site builder.

Sorry for my lack of knowledge!

Thanks
Connor

Website isn't mine, but one for my mums business. (I'm only 15) It's not finished just yet

www.beechwoodcattery.com/booking.html
Connor!
Would changing the original program that creates the form fix any problems? Is it the program that has the fault?

For some reason I couldn't edit my post
groovicus
QUOTE
Would changing the original program that creates the form fix any problems?


Maybe. It is hard to tell without seeing the code since the web page is not currently working.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.