giv3mesmile Posted May 18, 2010 Share Posted May 18, 2010 Ok Im new in PHP programming and new on this forum too Anyways...here is my problem...when I press the Feedback button, i get this error: Method Not Allowed The requested method POST is not allowed for the URL /processfeedback.php. <form action="processfeedback.php" method="post"> <h2 class="Kontakt"><span class="Kontakt">Your name:<br/> <input type="text" name="YourName" size="30" /> </span></h2> <p class="Kontakt"><span class="Kontakt">Your email address:<br/> <input type="text" name="email" size="30" /> </span></p> <p class="Kontakt"><span class="Kontakt">Your feedback:<br/> <textarea name="feedback" rows="8" cols="40" wrap="virtual" /> </textarea> </span></p> <p><span class="Kontakt"> <input type="submit" value="Send feedback" /> </span></p> </form> And yeah, almost forgot, im using Freewebs.com server to upload data, and bubicebg.co.nr is the name of my site... Thanks in advance.. Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/ Share on other sites More sharing options...
Mchl Posted May 18, 2010 Share Posted May 18, 2010 http://www.bluehostforums.com/showthread.php?t=45 http://vijaymodi.wordpress.com/2007/03/31/method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url/ Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1059917 Share on other sites More sharing options...
giv3mesmile Posted May 18, 2010 Author Share Posted May 18, 2010 but I don't have 2 form tags, do I ? Could you please correct code if u find error, I've been reading those sites before, but couldnt figure it out Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1059949 Share on other sites More sharing options...
Mchl Posted May 18, 2010 Share Posted May 18, 2010 The form code you're posted loks correct, and assuming it's not nested within another form tag, it shouldn't be a problem. A second link suggests, that the problem might be caused because 'processfeedback.php' does not exists, or is not executed as cgi. Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1059957 Share on other sites More sharing options...
giv3mesmile Posted May 18, 2010 Author Share Posted May 18, 2010 "as cgi" please excuse me, cuz Im really new into this, i've started it 2 weeks ago.. :S Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1059958 Share on other sites More sharing options...
Mchl Posted May 18, 2010 Share Posted May 18, 2010 In other words, php script might not get executed for various reasons (one of them being - PHP is not installed, enabled on your server) Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1059960 Share on other sites More sharing options...
giv3mesmile Posted May 18, 2010 Author Share Posted May 18, 2010 In other words, php script might not get executed for various reasons (one of them being - PHP is not installed, enabled on your server) and uhm...how to do that?! ) Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1059978 Share on other sites More sharing options...
Mchl Posted May 18, 2010 Share Posted May 18, 2010 Can you run any other php scripts? Like this? <?php phpinfo(); ?> Quote Link to comment https://forums.phpfreaks.com/topic/202105-method-not-allowed-the-requested-method-post-is-not-allowed-for-the-url-process/#findComment-1060025 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.