Firebird PHP Generator online Help
Prev | Return to chapter overview | Next |
GetEnvVar

Returns the value of a specified environment variable of an application.
Signature:
function GetEnvVar($name)
Example:
The following example demonstrates how to get IP address from which the user is viewing the current page.
$ipAddress = GetApplication()->GetEnvVar('REMOTE_ADDR');
Prev | Return to chapter overview | Next |