432件ヒット
[401-432件を表示]
(0.023秒)
クラス
- CGI (48)
モジュール
-
CGI
:: QueryExtension (384)
キーワード
- [] (12)
- accept (12)
-
accept
_ charset (24) -
accept
_ encoding (12) -
accept
_ language (12) -
auth
_ type (12) -
cache
_ control (12) -
content
_ type (12) -
create
_ body (12) - from (12)
-
gateway
_ interface (12) - header (12)
- host (12)
- keys (12)
- negotiate (12)
- out (12)
- params (12)
-
path
_ info (12) -
path
_ translated (12) - pragma (12)
- print (12)
-
query
_ string (12) - referer (12)
-
remote
_ addr (12) -
remote
_ host (12) -
remote
_ ident (12) -
remote
_ user (12) -
request
_ method (12) -
script
_ name (12) -
server
_ name (12) -
server
_ protocol (12) -
server
_ software (12) -
user
_ agent (12)
検索結果
先頭3件
-
CGI
# out(options = "text / html") { . . . . } (33.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string
cgi.out("text/plain"){ "string" }
# Content-Type: text/plain
# Content-Length: 6
#
# string
cgi.out({"nph"......tml; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),
"cookie" => [cookie1, cookie2],
"my_header1" => "my_value",
"my_header2" => "my_value"}){ "string" }
@see CGI#header... -
CGI
:: QueryExtension # [](key) -> Array (9.0) -
文字列 key に対応するパラメータを配列で返します。 key に対応するパラメータが見つからなかった場合は、nil を返します。(CGI#paramsと等価です)
...パラメータが見つからなかった場合は、nil を返します。(CGI#paramsと等価です)
フォームから入力された値や、URL に埋め込まれた QUERY_STRING のパース結果の取得などに使用します。
@param key キーを文字列で指定します。... -
CGI
:: QueryExtension # params -> Hash (9.0) -
パラメータを格納したハッシュを返します。
...パラメータを格納したハッシュを返します。
フォームから入力された値や、URLに埋め込まれた QUERY_STRING のパース結果の取得などに使用します。
cgi = CGI.new
cgi.params['developer'] # => ["Matz"] (Array)
cgi.params['develop...