Query: apache_setenv
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
APACHE_SETENV(3) 1 APACHE_SETENV(3) apache_setenv - Set an Apache subprocess_env variableSYNOPSISbool apache_setenv (string $variable, string $value, [bool $walk_to_top = false])DESCRIPTIONapache_setenv(3) sets the value of the Apache environment variable specified by $variable. Note When setting an Apache environment variable, the corresponding $_SERVER variable is not changed.PARAMETERSo $variable - The environment variable that's being set. o $value - The new $variable value. o $walk_to_top - Whether to set the top-level variable available to all Apache layers.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 Setting an Apache environment variable using apache_setenv(3) <?php apache_setenv("EXAMPLE_VAR", "Example Value"); ?>NOTESNote apache_setenv(3) can be paired up with apache_getenv(3) across separate pages or for setting variables to pass to Server Side Includes (.shtml) that have been included in PHP scripts.SEE ALSOapache_getenv(3). PHP Documentation Group APACHE_SETENV(3)
Related Man Pages |
---|
gupnp_service_notify(3) - php |
apache_setenv(3) - php |
get_cfg_var(3) - php |
apache_child_terminate(3) - php |
wincache_ucache_dec(3) - php |
Similar Topics in the Unix Linux Community |
---|
calling a aliased variable |
Checking if string contains integer |
PERL : Use of a variable in a tr |
Variable increment (of some sort) |
Resolve variable inside another variable |