GetLoginURL ( )
Returns the full Login URL. This should be saved and used as the Login URL during your next connection
$new_url = $rets->GetLoginURL(); file_put_contents("login_url.txt", $new_url);