Location: PHPKode > scripts > RemoteSQL > remotesql/sql-link.php
//Made by Pablo Gazmuri (hide@address.com)
//Example usage of SQL_link class

//connect to mysql and select DB before using class
mysql_connect("localhost", "username", "pass");


$sql = new SQL_link();

//change the key for your own use - the longer the key, the more secure the encryption
//remember to set the key to the same string in the VB Code in Query.bas
$sql->setKey("YOUR KEY GOES HERE");

//change this to your IP, remove calls to allowIP to allow access from anywhere (not recommended)
$sql->allowIP("your ip here");

//you can allow as many IP's as you wish
$sql->allowIP("someone else's IP");

//always end with this call
Return current item: RemoteSQL