Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 17-01-2007, 09:29 AM
yipguseng's Avatar
Lost Webmaster
 
Join Date: Jan 2007
Location: Petaling Jaya
Posts: 857
Rep Power: 42
yipguseng will become famous soon enough yipguseng will become famous soon enough
Send a message via MSN to yipguseng
Lightbulb 405 Method Not Allowed

last few days when i was trying to do a chatbox for my website, i encounter this error page when i click on the submit button with the form method POST, was cracking my head searching for solution on how to change the CHMOD access within my own localhost, up till yesterday...only i realize a silly mistake i did, i name the extension of the form as .html, which is not suppose to use as a POST form method......and so i rename the extension as 1 of the server side script file, in my case is .php, then it work fine

what i wanna share with u all is, POST method's form are not meant for html file, is only for server side scripting file such as php, asp, cgi etc, i dun have any solid proof on the above statement but i will try find it online and post it here
so in the future if u did encounter this error, be sure to double check the extension and dun b so silly as me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 17-01-2007, 11:33 AM
robot's Avatar
Senior Webmaster
 
Join Date: Jul 2006
Location: My
Posts: 969
Rep Power: 48
robot will become famous soon enough
well, thats a silly mistakes. hehe.
but then, my old blog uses htaccess mod rewrite would not have problem with file extension. example;
Code:
http://xxxx.com/great-desktop-dictionary.php
the great-desktop-dictionary.php does not exist. It will actually parse all url in the index.php but it will take the great-desktop-dictionary.php as input to parse the output. the .php extension is actually fake as you could still access the site without the extension like
Code:
http://xxxx.com/great-desktop-dictionary
this is just part of the SEO friendly url gimmic

Last edited by robot; 17-01-2007 at 11:41 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 17-01-2007, 11:43 AM
robot's Avatar
Senior Webmaster
 
Join Date: Jul 2006
Location: My
Posts: 969
Rep Power: 48
robot will become famous soon enough
but if you need to post the information back on the same file you could use action="" instead
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
alternative method to withdraw paypal funds? MENJ E-Commerce 6 06-11-2006 11:53 PM
method of paying antagonis Paid Hosting Discussion Forum 3 29-03-2002 07:44 PM



All times are GMT +8. The time now is 05:43 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60