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

search for in the

HttpRequest::getResponseCookies> <HttpRequest::getResponseBody
Last updated: Fri, 18 Jul 2008

view this page in

HttpRequest::getResponseCode

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::getResponseCode — Get response code

Descrizione

public int HttpRequest::getResponseCode ( void )

Get the response code after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response.

Valori restituiti

Returns an int representing the response code.



add a note add a note User Contributed Notes
HttpRequest::getResponseCode
meyer at labeltools dot com
25-Dec-2006 04:12
This page lists all response codes:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

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