i have never faced this kind of problem before and i have no clue why this is happeneing... $site=fopen("url","r"); Code (markup): this ke pt on returning 500 internal server error for a particular site...al other sites are working fine.. tried curl as well got the same error...but that site is accessible thorugh browser..i donot get where i am going wrong.. can someone help me on this thx
What you are trying to open ( html, php, asp, js ... ) ? Maybe their default ( like on many servers index.html ) file is set to something 'unreadable' ( unreadable from remote access ) ?
It might have your server IP banned. Try using localhost. Always use CURL instead and try to set referring URL to the site itself if the URL is not the main one. Peace,
i am trying to acess it through my localhost itself...no servers!! the file is the search result page of a search engine... so i am doing something like www.xxx.com/search?keyword=xczxczxc