Jump to content

lupus2203

New Members
  • Posts

    2
  • Joined

  • Last visited

lupus2203's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. How to unzip files on remote server using PHP script. I tried to like this: $zip = new ZipArchive; $res = $zip->open('http://madm.dfki.de/demo/ip-countryside/ip2country.zip'); if ($res === TRUE) { $zip->extractTo($_SERVER['DOCUMENT_ROOT'].'/app/webroot/ip2country/'); $zip->close(); echo 'ok'; } else { echo 'failed, code:' . $res; } but, it does not work. This error occurs: Unable to access http://madm.dfki.de/demo/ip-countryside/ip2country.zip How to solve this problem?
  2. I want to disable user registration outside of Croatia. I need an IP geolocation database. I found one site http://www.nirsoft.net/countryip/hr.html, but I'm not sure that the data is regularly updated. Where to find a quality geolocation database?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.