Connect ( string $login_url, string $username, string $password [, string $ua_pwd ] )
Makes initial RETS Login connection. If RETS 'Action' exists, performs that request as well.
| Version | Description |
| 1.0 | Dropped AddHeader requirements |
$connect = $rets->Connect("http://demo.crt.realtors.org:6103/rets/login", "Joe", "Schmoe");
if (!$connect) {
print_r($rets->Error());
}
$connect = $rets->Connect("http://demo.crt.realtors.org:6103/rets/login", "Joe", "Schmoe", "ua-password");