Hi I am trying to fetch the contents of a pge using file_get_contents(). The page lies on a different server and I have to pass some values as query string. There is a page in my server which calls this page and converts the return text to some friendly messages and displays them. This setup works perfectly in my machine but fails with my hosting server. When I try to run the page www.xxx.com/x.php (this is the page which calls the remote file) The error I get is age not found".... Any idea? server : PHP version 5 local : php version 5
Thanks mate.. i checked the server and it does allow call to other domain URL... I checked file_get_contents for other site an it works fine... This particular URL does not respond. But it works perfectly fine in my local machine....
Yes.. I did!! And it failed for this URL .... I tried redirection to this URl and that works perfectly which means the server is not firewalled!!!