Good afternoon, dear forum users! I had this problem. When developing one site, I encountered such a problem as the impossibility of transferring data from another site.
I use this function:
$docHTML = file_get_contents($url); And it works for all sites except one http://www.banki.ru/banks/ratings/
For some reason, the parser data is not returned from this site, I don’t even know what to do with it. Tell me how to overcome this problem. Php version 5.4. Maybe the library for the site parser, even those that are protected from third-party robots.
wget -S http://www.banki.ru/banks/ratings/- user6550