apache_get_version
<<<
apache_getenv apache_lookup_uri
>>>

6.1 Fonctions Apache
6 Référence des fonctions
 Manuel PHP

Introduction
Installation
Configuration à l'exécution
Types de ressources
Constantes prédéfinies
apache_child_terminate
apache_get_modules
apache_get_version
->apache_getenv
apache_lookup_uri
apache_note
apache_request_headers
apache_reset_timeout
apache_response_headers
apache_setenv
ascii2ebcdic
ebcdic2ascii
getallheaders
virtual

6.1.9 apache_getenv() Retourne une variable subprocess_env d'Apache

[ Exemples avec apache_getenv ]   PHP 4 >= 4.3.0, PHP 5

string  apache_getenv ( string   variable , bool   walk_to_top )

apache_getenv retourne la valeur de la variable d'environnement Apache spécifiée par le paramètre variable ou FALSE en cas d'échec.

Exemple avec apache_getenv

<?php
$ret
= apache_getenv("SERVER_ADDR");
echo
$ret;
?>

Voir aussi apache_setenv .

<< apache_getenv >>
apache_get_version Fonctions Apache apache_lookup_uri