I have big problem with file_get_contents. When I do for example:
$url=2
$linkk = '.'.$this->address.'/'.$url.'.';
$result = file_get_html($link)
WHERE url is changable number and $this->adress is a hyperlink. When I do echo $linkk and then paste it in browser it works correct!
What can be reason of this problem?
Unless this is a transcription typo, your variable is called
$linkk(two k’s), and your are callingfile_get_html()with$link(one k).