putenv

(PHP 3, PHP 4 >= 4.0.0)

putenv -- Set the value of an environment variable.

Description

void putenv (string setting)

Adds setting to the server environment.

예 1. Setting an Environment Variable


putenv ("UNIQID=$uniqid");