02-19-2010
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I must have missed it , but what do Junior Memeber/Member mean?
is there a reference arounf for the significance of these titles ?
Thanks,
Hezki (3 Replies)
Discussion started by: me2unix
3 Replies
2. Solaris
As a new member how do I go about asking question to the administrator and other users (1 Reply)
Discussion started by: malusims
1 Replies
3. Post Here to Contact Site Administrators and Moderators
Hello Admins
Just tell me who is the first member of this forum.
Regards,
Awadhesh (1 Reply)
Discussion started by: Awadhesh
1 Replies
4. UNIX for Dummies Questions & Answers
brothers and sisters
iam a new member of your respectful forum
hope to accept me
i really would like to an expert in unix and linux
so please tell me how could ?
and what i should have ?
i want to make my project in these subject
but i dont know what to do
and which... (12 Replies)
Discussion started by: yemen
12 Replies
5. UNIX for Dummies Questions & Answers
HI Bruce from Central PA
I have never used Unix but am sick of Microsoft so want to learn it.
I use to own a computer store front and training center and stated our with Atari, Commodore and the 1st PC and MS/DOS then Windows
BUT sick of Microsoft controlling the computer industry.
... (2 Replies)
Discussion started by: Brucec
2 Replies
6. What is on Your Mind?
i am new member i hope here is good friends (1 Reply)
Discussion started by: annsoo
1 Replies
7. What is on Your Mind?
Hi guys! My name is Leonida and I am new here to this forum. Nice meeting you all. (1 Reply)
Discussion started by: leeoona
1 Replies
_ENV(3) 1 _ENV(3)
$_ENV - Environment variables
An associative array of variables passed to the current script via the environment method.
These variables are imported into PHP's global namespace from the environment under which the PHP parser is running. Many are provided by
the shell under which PHP is running and different systems are likely running different kinds of shells, a definitive list is impossible.
Please see your shell's documentation for a list of defined environment variables.
Other environment variables include the CGI variables, placed there regardless of whether PHP is running as a server module or CGI proces-
sor.
$HTTP_ENV_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_ENV_VARS and $_ENV are different variables
and that PHP handles them as such)
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 4.1.0 | |
| | |
| | Introduced $_ENV that deprecated $HTTP_ENV_VARS. |
| | |
+--------+---------------------------------------------------+
Example #1
$_ENV example
<?php
echo 'My username is ' .$_ENV["USER"] . '!';
?>
Assuming "bjori" executes this script
The above example will output something similar to:
My username is bjori!
Note
This is a 'superglobal', or automatic global, variable. This simply means that it is available in all scopes throughout a script.
There is no need to do global $variable; to access it within functions or methods.
getenv(3), The filter extension.
PHP Documentation Group _ENV(3)