"http://rets18.utahrealestate.com/contact/rets/login"
-----------array:2 [▼ "headers" => array:4 [▼ "User-Agent" => "PHRETS/2.0" "RETS-Version" => "RETS/1.8" "Accept-Encoding" => "gzip" "Accept" => "*/*" ] "cookies" => CookieJar {#615 ▼ -cookies: [] -strictMode: false } ]
-----------
Client {#602 ▼
-messageFactory: MessageFactory {#604 ▶}
-baseUrl: Url {#603 ▼
-scheme: ""
-host: ""
-port: null
-username: null
-password: null
-path: ""
-fragment: null
-query: null
}
-defaults: array:6 [▼
"allow_redirects" => true
"exceptions" => true
"decode_content" => true
"verify" => true
"headers" => array:4 [▼
"User-Agent" => "PHRETS/2.0"
"RETS-Version" => "RETS/1.8"
"Accept-Encoding" => "gzip"
"Accept" => "*/*"
]
"auth" => array:3 [▼
0 => "myUserName"
1 => "myPassword"
2 => "digest"
]
]
-fsm: RequestFsm {#614 ▶}
-emitter: null
}Thank you for this post. I'd identified a possible solution to this issue but it was much, much uglier than this.
This fixed https://github.com/troydavisson/PHRETS/issues/62 and probably at least one other. I've pushed a commit to the 2.3 dev branch with this.
Thanks again!
--
You received this message because you are subscribed to the Google Groups "PHRETS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phrets+un...@googlegroups.com.
To post to this group, send email to phr...@googlegroups.com.
Visit this group at https://groups.google.com/group/phrets.
For more options, visit https://groups.google.com/d/optout.
date_default_timezone_set('UTC');
require_once("vendor/autoload.php");
$config = new \PHRETS\Configuration;
$config->setLoginUrl('http://connectmls-rets.mredllc.com/rets/server/login')
->setUsername('yes')
->setPassword('youbet')
->setRetsVersion('1.7');
$rets = new \PHRETS\Session($config);
$connect = $rets->Login();
~/rets>composer info
doctrine/inflector v1.2.0 Common String Manipulations with regard to casing and singular/plural rules.
guzzlehttp/guzzle 6.3.0 Guzzle is a PHP HTTP client library
guzzlehttp/promises v1.3.1 Guzzle promises library
guzzlehttp/psr7 1.4.2 PSR-7 message implementation that also provides common utility methods
illuminate/container v5.5.17 The Illuminate Container package.
illuminate/contracts v5.5.17 The Illuminate Contracts package.
illuminate/support v5.5.17 The Illuminate Support package.
league/csv 9.1.0 Csv data manipulation made easy in PHP
nesbot/carbon 1.22.1 A simple API extension for DateTime.
psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11)
psr/http-message 1.0.1 Common interface for HTTP messages
psr/simple-cache 1.0.0 Common interfaces for simple caching
symfony/polyfill-mbstring v1.6.0 Symfony polyfill for the Mbstring extension
symfony/translation v3.3.10 Symfony Translation Component
troydavisson/phrets 2.4 RETS library in PHP