I am trying to scrape some data of this website, it works on my localhost, but when I upload it on server, it gives me this error.
Warning: file_get_contents(http://www.somewebsite.com/page) [function.file-get-contents]: failed to open stream: Permission denied
I have found on my hosting that allow_url_fopen setting is on. I don't know the webpage's extension.