This question already has an answer here:
- file_get_contents() give me 403 Forbidden 3 answers
- file_get_contents returns 403 forbidden 12 answers
Sorry I'm new to PHP and I've had this problem when i file_get_html() I don't know why i get this warning
$html = file_get_html('https://www.solebox.com/index.php?cl=alist&pgNr=0&filter=f99%3AoSoon&lang=1');
Warning: file_get_contents(https://www.solebox.com/index.php?cl=alist&pgNr=0&filter=f99%3AoSoon&lang=1): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in C:\xampp\htdocs\simple_html_dom.php on line 82
</div>