Was this article helpful?
Yes, it did work! However, it did give me some notices.
PHP Notice: Undefined offset: 0 in /home/xxxx/geoip_updater.php on line 135
Notice: Undefined offset: 0 in /home/xxxx/geoip_updater.php on line 135
PHP Notice: Undefined offset: 0 in /home/xxxx/geoip_updater.php on line 169
Notice: Undefined offset: 0 in /home/xxxx/geoip_updater.php on line 169
I think that was because I used IP only and not an FQDN. So, no big deal. That's a good point about the file being corrupt or incomplete. But I would think that would be a point towards forcing the md5 check. Which I personally would be OK with. Since the 2 URLs are almost identical, except the 2nd one has ".md5" at the end, you could just infer the 2nd URL from the 1st URL. Then you wouldn't need the MD5 URL parameter. I don't really do any coding and about the most I do is some bash scripting or simple iRules so, I am not exactly sure what would be a good way to do the password or local files. But yeah, just adding another parameter to the command seems good to me.