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

search for in the

http_negotiate_charset> <http_match_request_header
[edit] Last updated: Fri, 17 May 2013

view this page in

http_support

(PECL pecl_http >= 0.15.0)

http_supportComprueba el soporte HTTP integrado

Descripción

int http_support ([ int $feature = 0 ] )

Comprueba si hay soporte para funcionalidades que requieren bibliotecas externas.

Revise la tabla de constantes predefinidas para conocer los posibles valores del parámetro feature.

Parámetros

feature

funcionalidad que se somete a prueba

Valores devueltos

Devuelve un integer, informando si hay soporte para la funcionalidad solicitada, o si se omite feature, una máscara de bits con todas las funcionalidades soportadas.

Ejemplos

Ejemplo #1 Ejemplo de http_support()

<?php
if (!http_support(HTTP_SUPPORT_REQUESTS)) {
    die(
"¡Soporte para peticiones HTTP necesario!\n");
}
?>



add a note add a note User Contributed Notes http_support - [0 notes]
There are no user contributed notes for this page.

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