PHP function file_get_contents($url) returns special characters
I am trying to retrieve the meta data for a given links (url). I have implemented the following steps: $url = "url is here"; $html = file_get_contents($url); $crawler = new Crawler($html); // Symfony library $description = $crawler->filterXPath("//meta[@name='description']")->extract(['content']); Doing so, I…