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

search for in the

HttpResponse::setData> <HttpResponse::setContentDisposition
Last updated: Fri, 10 Oct 2008

view this page in

HttpResponse::setContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setContentTypecontent type を設定する

説明

static bool HttpResponse::setContentType ( string $content_type )

送信されるエンティティの Content-Type を設定します。

パラメータ

content_type

送信されるエンティティの content type (primary/secondary)。

返り値

成功した場合に TRUE を返します。 content type にプライマリパート、セカンダリパートが含まれていない場合に FALSE を返します。



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

 
show source | credits | sitemap | contact | advertising | mirror sites