September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool putenv(int setting) Places a value into the server environment.
Returns:
TRUE on success; FALSE on error
Description:
Places a variable and its value into the server environment, which can then be accessed by other scripts or programs.
If PHP is running in safe mode, a list of environment variables that can be altered can be set in the PHP initialization file.
Example:
putenv("HELLO=world");
echo getenv("HELLO");
|
Read now
Unlock full access