Using cURL, I'm trying to get the page content, an example of the page https://mt4trendindicator.com
My site works without ssl over http protocol, as a result I get an error ERR_CONNECTION_REFUSED
and the protocol of my site changes to https protocol, although ssl is not installed.
Added lines to code
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
but nothing has changed.
What could be the problem, why does the page open via https protocol?
ps most url open correctly except the above.
https://yandex.ru easily opens on my http-based protocol without installing ssl.
html
, while not fulfilled. - Farkhod Daniyarov