CONSTRUCTOR
RemoteQuery
__construct
([string $url = ''], [string $securityKey = ''], [string $database = ''], [string $server = ''], [string $username = ''], [string $password = ''], [string $charset = ''])
-
string
$url: The URL to the Remote Query Server file
-
string
$securityKey: Security password key (set in the Remote Query Server file)
-
string
$database: Name of the database
-
string
$server: Name of the MySQL host server
-
string
$username: Database user name
-
string
$password: Database password
-
string
$charset: Database character set
Sets connection data for the remote database and Remote Query Server
void
connect
(string $url, [string $securityKey = ''], [string $database = ''], [string $server = ''], [string $username = ''], [string $password = ''], [string $charset = ''])
-
string
$url: The URL to the Remote Query Server file
-
string
$securityKey: Security password key (set in the Remote Query Server file)
-
string
$database: Name of the database
-
string
$server: Name of the MySQL host server
-
string
$username: Database user name
-
string
$password: Database password
-
string
$charset: Database character set
Executes a query on the remote server
array
executeQuery
(string $sql)
-
string
$sql: SQL query to execute on the remote server
Creates the full URL with GET parameters to execute a query on the server
string
getURL
([string $sql = ''])
-
string
$sql: SQL query to execute