PHP-Logo
Druckansicht von http://www.php-homepage.de/manual/function.http-support.php

PHP-Logo
[ Main Menue ]
Homepage
Downloads
Artikel
Scripts
Forum
PHP-Manual
Links
News
Freelancer
Bücher
RuDolF
Suche
Misc
Über diese Seite
Kontakt
Wunschzettel
MyGuestbook
*
[ Suche ]
*
[ Manual ]
HTTP Funktionen
*

Follow on Twitter - @phphomepage

RSS Feed blogoscoop
 http_match_request_header  Letztes Update:
07.01.2012
http_negotiate_charset 

http_support

(PECL pecl_http >= 0.15.0)

http_supportCheck built-in HTTP support

Beschreibung

int http_support ([ int $feature = 0 ] )

Check for features that require external libraries.

See the feature support constants table for possible values for the feature argument.

Parameter-Liste

feature

feature to probe for

Rückgabewerte

Returns integer, whether requested feature is supported, or a bitmask with all supported features if feature was omitted.

Beispiele

Beispiel #1 A http_support() example

<?php
if (!http_support(HTTP_SUPPORT_REQUESTS)) {
    die(
"Need HTTP request support!\n");
}
?>

© Copyright 1999 - 2011 by Mark Kronsbein | Impressum | NutzungsbedingungenWeiterempfehlen | Seitenanfang
0.0028