[PHP-users 14784]Re: formのaction=postを指定しているのにgetにかわってしまうトラブル

SATOH Fumiyasu fumiya @ samba.gr.jp
2003年 4月 22日 (火) 22:12:26 JST


At Tue, 22 Apr 2003 21:34:26 +0900,
naruse @ daikodenshi.co.jp wrote:
> formでmethod="post"で指定しているのにも関わらず、getで送信しようとして

本題と関係ないですが、「post」や「get」といったメソッドは存在しません。
「POST」、「GET」ですよ。大文字・小文字は区別されます。

$ telnet localhost 80
Trying 127.0.0.1...
Connected to sugar.lan.sfo.jp.
Escape character is '^]'.
get /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>501 Method Not Implemented</TITLE>
</HEAD><BODY>
<H1>Method Not Implemented</H1>
get to /index.html not supported.<P>
Invalid method in request get /<P>
</BODY></HTML>
Connection closed by foreign host.

-- 
-- Name: SATOH Fumiyasu  -- Home: http://www.sfo.jp (in Japanese only)
-- Mail: fumiya @net-thrust.com, @samba.gr.jp, @namazu.org or ...


PHP-users メーリングリストの案内