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

search for in the

HttpMessage::setResponseStatus> <HttpMessage::setRequestUrl
Last updated: Fri, 13 Nov 2009

view this page in

HttpMessage::setResponseCode

(PECL pecl_http >= 0.10.0)

HttpMessage::setResponseCodeYanıt kodunu belirler

Açıklama

public bool HttpMessage::setResponseCode ( int $kod )

HTTP yanıt iletisinin yanıt kodunu belirler.

Değiştirgeler

kod

HTTP yanıt kodu.

Dönen Değerler

İleti HttpMessage::<yanıt_türü > türünde değilse ya da yanıt kodu aralığın (100-510) dışındaysa FALSE, başarı durumunda ise TRUE döner.



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

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