PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpResponse::setLastModified> <HttpResponse::setGzip
Last updated: Fri, 05 Sep 2008

view this page in

HttpResponse::setHeader

(PECL pecl_http:0.12.0-1.5.5)

HttpResponse::setHeaderヘッダを設定する

説明

static bool HttpResponse::setHeader ( string $name [, mixed $value [, bool $replace = TRUE ]] )

HTTP ヘッダを送信します。

パラメータ

name

ヘッダの名前。

value

ヘッダの値。設定しなかった場合は、 この名前のヘッダは送信されません。

replace

既存のヘッダを置き換えるかどうか。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
HttpResponse::setHeader
There are no user contributed notes for this page.

HttpResponse::setLastModified> <HttpResponse::setGzip
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites