Reputation: 5407
Is this error due to my IP block or what?
If yes then blocking which IP? on which I have put my script to execute
I am getting this error:
Warning: file_get_contents(http://www.yelp.com/biz/allegro-romano-san-francisco): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /var/www/html/scrap/yelp/simple_html_dom.php on line 75
Is there any way to get rid of this?
Upvotes: 0
Views: 4836
Reputation: 632
This is not a problem with your script, but with the resource you are requesting. The web server is returning the "forbidden" status code.
Upvotes: 0