getenv
(PHP 4, PHP 5)
getenv — 获取一个环境变量的值
string getenv ( string $varname )
获取一个环境变量的值。
使用 phpinfo() 你可以看到所有环境变量的列表。 这些变量很多都在 »