Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Tony Broadbent: "Such a great product! I have been struggling to hand craft pages which, with your PHP Generator, I created beautifully within 5 minutes of downloading it".
Jonathan Oakes: "This is a lovely application. It's easy to hook into my own bespoke applications. It's very powerful, yet really quite simple to use. Thanks for this".

More

Add your opinion

PHP Generator for MySQL 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