From ad5c874bc157f84d7e9c2fcd261adcfef4b2efe3 Mon Sep 17 00:00:00 2001
From: Michael Wallner Compose a valid HTTP date regarding RFC 822/1123 Takes an optional unix timestamp as parameter. Accepts an optional unix timestamp as parameter. Returns the HTTP date as string. Returns the new URL as string on success or FALSE on failure. This function negotiates the clients preferred language based on its The HTTP response code will be set according to status. Please see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3http_functions.c
string http_date([int timestamp])
looking like: "Wed, 22 Dec 2004 11:34:47 GMT"
-
-Returns the HTTP date as string.string http_build_url(mixed url[, mixed parts[, array &new_url]])
+string http_build_url(mixed url[, mixed parts[, int flags = HTTP_URL_REPLACE[, array &new_url]]])
string http_negotiate_language(array supported[, array &result])
@@ -199,9 +201,11 @@ be treated with http_build_query() and the session identification will be append
if session is true.
You can use one of the following constants for convenience:
- - HTTP_REDIRECT 302 Found
+ - HTTP_REDIRECT 302 Found for GET/HEAD, else 303 See Other
- HTTP_REDIRECT_PERM 301 Moved Permanently
+ - HTTP_REDIRECT_FOUND 302 Found
- HTTP_REDIRECT_POST 303 See Other
+ - HTTP_REDIRECT_PROXY 305 Use Proxy
- HTTP_REDIRECT_TEMP 307 Temporary Redirect
for which redirect response code to use in which situation.
Returns an associative array of incoming request headers.
Get the raw request body (e.g. POST or PUT data).
-Returns NULL when using the CLI SAPI.
+This function can not be used after http_get_request_body_stream()
+if the request method was another than POST.
Returns the raw request body as string on success or NULL on failure.
+Create a stream to read the raw request body (e.g. POST or PUT data).
+This function can only be used once if the request method was another than POST.
+Returns the raw request body as stream on success or NULL on failure.
Match an incoming HTTP header.
Expects two string parameters representing the header name (case-insensitive)
@@ -399,6 +409,7 @@ all supported features.
Returns the final part of deflated data.
Passes more data through the inflate stream.
Expects a string parameter containing (a part of) the data to inflate.
@@ -419,10 +430,10 @@ consecutive HTTP messages. The constructed object will actuallyThrows HttpMalformedHeaderException.
-Create an HttpMessage object from a string. Kind of a static constructor.
Expects a string parameter containing a sinlge or several consecutive
-HTTP messages.
Returns an HttpMessage object on success or NULL on failure.
Throws HttpMalformedHeadersException.
Returns the full message as string.
+Creates an object regarding to the type of the message.
+Returns either an HttpRequest or HttpResponse object on success, or NULL on failure.
+Throws HttpRuntimeException, HttpMessageTypeException, HttpHeaderException.
Implements Countable.
Returns the number of parent messages + 1.
@@ -507,6 +522,41 @@ should also contain any parent messages.Implements Serializable.
Re-constructs the HttpMessage based upon the serialized string.
+Returns a clone of an HttpMessage object detached from any parent messages.
+Prepends message(s) to the HTTP message.
+Expects an HttpMessage object as parameter.
+Implements Iterator.
+Implements Iterator.
+Implements Iterator.
+Implements Iterator.
+Implements Iterator.
+Creates a new HttpQueryString object instance.
+Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is TRUE.
Returns the string representation.
+Get (part of) the query string.
+The type parameter is either one of the HttpQueryString::TYPE_* constants or a type abbreviation like
+"b" for bool, "i" for int, "f" for float, "s" for string, "a" for array and "o" for a stdClass object.
Set a query string entry.
+Deletes entry/entries from the query string.
+Modifies the query string according to params. NULL values will unset the variable.
+Get a single instance (differentiates between the global setting).
Send an HTTP header.
Expects a string parameter containing the name of the header and a mixed
@@ -987,7 +1038,7 @@ http.cache_log is set.
Generated at: Tue, 03 Jan 2006 20:04:51 +0100
+Generated at: Mon, 30 Jan 2006 18:56:09 +0100