|
@@ -111,6 +111,8 @@ Class VAT {
|
|
|
curl_setopt($this->ch, CURLOPT_URL, "http://www.finanse.mf.gov.pl/web/wp/pp/sprawdzanie-statusu-podmiotu-w-vat");
|
|
curl_setopt($this->ch, CURLOPT_URL, "http://www.finanse.mf.gov.pl/web/wp/pp/sprawdzanie-statusu-podmiotu-w-vat");
|
|
|
curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true);
|
|
curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true);
|
|
|
curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
|
|
curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
|
|
|
|
|
+ curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, false);
|
|
|
|
|
+ curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);
|
|
|
curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 10);
|
|
curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 10);
|
|
|
curl_setopt($this->ch, CURLOPT_COOKIEJAR, $this->cookies);
|
|
curl_setopt($this->ch, CURLOPT_COOKIEJAR, $this->cookies);
|
|
|
curl_setopt($this->ch, CURLOPT_COOKIEFILE, $this->cookies);
|
|
curl_setopt($this->ch, CURLOPT_COOKIEFILE, $this->cookies);
|