473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Method Not Allowed on a web site

nomad
664 Expert 512MB
Hello everyone:
I have a question to ask you.

I'm make a quiz and I get this error

Method Not Allowed
The requested method POST is not allowed for the URL /quiz/quizaction.phtml.

--------------------------------------------------------------------------------
Apache/1.3.37 Server at continuingedventure.com Port 80

Here is part of my code that is giving me problems

If i upload this file and then I view that page I get an error. The clients site.
[PHP]<form action=http://abc.com/quiz/quizaction.phtml
method="POST"> [/PHP]

but if i change the code it works. My website
[PHP]<form action=http://CBS.com/quiz/quizaction.phtml
method="POST"> [/PHP]

Question is why does it work on one host site and not the other.
The clients site supports php
what do I need to do.

thanks
nomad
Mar 18 '08 #1
11 1832
ronverdonk
4,258 Expert 4TB
A reason can be that the host site script does not want to be posted, but only GET strings. You better ask the website admin of that host.

Ronald
Mar 18 '08 #2
nomad
664 Expert 512MB
A reason can be that the host site script does not want to be posted, but only GET strings. You better ask the website admin of that host.

Ronald
thanks again Ronald.
I email them and I have not heard from them. I hope that is not the case.
If so I don't know what I'm going to do.I'm working a subcontractor for another web designer.

damon
Mar 18 '08 #3
nomad
664 Expert 512MB
A reason can be that the host site script does not want to be posted, but only GET strings. You better ask the website admin of that host.

Ronald
Well they say it's php is working properly.
I need to find out why it's failing.

any ideals???

damon
Mar 18 '08 #4
ronverdonk
4,258 Expert 4TB
Then the only solution is to show the code of the html form. I cannot think of anynother way to go about this. Maybe there is something funny.

Ronald
Mar 18 '08 #5
nomad
664 Expert 512MB
Then the only solution is to show the code of the html form. I cannot think of anynother way to go about this. Maybe there is something funny.

Ronald

I Figure it out it was the extention.

damon
Mar 18 '08 #6
ronverdonk
4,258 Expert 4TB
OK, I see. But you said before that the extensions were identical on both systems, isn't it?

Ronald
Mar 18 '08 #7
nomad
664 Expert 512MB
OK, I see. But you said before that the extensions were identical on both systems, isn't it?

Ronald
Ronald:
one of the files has some php coding in it I saved it as
.phtml (what the heck was I doing, I found a site on how to build a quiz ) should have been .php

dumb mistake.

damon
PS thanks for taking the time in helping me.
Also have a great time with your sons.
Mar 19 '08 #8
nomad
664 Expert 512MB
Ronald:
one of the files has some php coding in it I saved it as
.phtml (what the heck was I doing, I found a site on how to build a quiz ) should have been .php

dumb mistake.

damon
PS thanks for taking the time in helping me.
Also have a great time with your sons.

Opps sorry wrong person...
damon
Mar 19 '08 #9
ronverdonk
4,258 Expert 4TB
I must admit: I completely overlooked that the extension was not .PHP! Maybe I am so biased that I automatically assume that all php code is in a .php extesnsion script.

Sorry for my misunderstanding.

Ronald
Mar 19 '08 #10
nomad
664 Expert 512MB
I must admit: I completely overlooked that the extension was not .PHP! Maybe I am so biased that I automatically assume that all php code is in a .php extesnsion script.

Sorry for my misunderstanding.

Ronald
Ronald don't worry about it.
You have help me in the pass and you also gave me some clues to solve this problem. I should have read the error code better.

damon
Mar 19 '08 #11
ronverdonk
4,258 Expert 4TB
It's okay mate! See you around.

Ronald
Mar 19 '08 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: qwejohn | last post by:
Hello, I had posted this question in the twisted mailing list but did not got a solution ; I hope that the python Gurus of this forum can help me a bit. I am trying the exmaple in the python...
2
by: Alex Vinokur | last post by:
========================================= Windows 2000 CYGWIN_NT-5.0 1.3.22(0.78/3/2) GNU gcc version 3.2 20020927 (prerelease) ========================================= Here is some program...
5
by: RK | last post by:
I am getting the "HTTP /1.1 405 - method not allowed" error when I am sending XML string over Msxml2.XMLHTTP object. I am sending data in POST, also passing querystring variable and here is the...
6
by: Martin | last post by:
I'd like to be able to get the name of an object instance from within a call to a method of that same object. Is this at all possible? The example below works by passing in the name of the object...
3
by: sushi | last post by:
Hello, I am trying to use WebClient class's UploadData method for uploading data to a particular uri. I ahve created a text file say new.txt in the IISROOT folder. But when I try to upload data to...
3
by: Edward Diener | last post by:
According to the CLS specification, the accessibility of the methods for adding, removing, and raising an event must be identical. There appear to be a few problems with this: 1) According to...
2
by: GlennLanier | last post by:
Hello, I've searched the forums and can't find an answer -- if it i there, kindly point me in that direction. I would like to simulate a browser POSTing a FORM and be able to pars the response....
5
by: rk325 | last post by:
Yes, I've seen many posts about this type of error, and none of the solutions people applied worked for me. So please read this one carefully and help me if you can. I have a web service...
3
by: Eric | last post by:
I'm trying to test code to post xml to a web page in anticipation of a new project. I wanted to try a simple test first, but I get a (405) Method Not Allowed error no matter what I try. I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.