-1

I am getting this error when i am uploading in the server

PHP Warning: file_get_contents(http://www.geoplugin.net/php.gp?ip=207.46.13.5): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

kumar
  • 1
  • 1
  • Possible duplicate of [Why file\_get\_contents() returns "failed to open stream: HTTP request failed!"?](http://stackoverflow.com/questions/697472/why-file-get-contents-returns-failed-to-open-stream-http-request-failed) – Syed mohamed aladeen Jan 19 '16 at 07:36

1 Answers1

0

You getting 403 error, so, it seems you need to register on geoplugin.net and add your live domain to some kind of whitelist. There is info about it in quickstart

kamuniaft
  • 139
  • 10
  • I have already registered in geoplugin.net with my domain name still sometime its works and sometime its doesn't work. – kumar Jan 19 '16 at 09:34