i need to open the following url
$file = "http://en.wikipedia.org/w/api.php?action=parse&page=Kundapura&prop=text&format=xml";
$fp = fopen($file, "r");
but i am geeting warning http request failed/ 403 forbidden
i need to open the following url
$file = "http://en.wikipedia.org/w/api.php?action=parse&page=Kundapura&prop=text&format=xml";
$fp = fopen($file, "r");
but i am geeting warning http request failed/ 403 forbidden
but i am geeting warning http request failed/ 403 forbidden
The 403 error is coming from their server.
Chances are that you or someone on the IP address or block you are using has been aggressively banned from using the Wikipedia API. You will need to contact a responsible admin at Wikipedia to investigate.