Forum Topics : Wish List / DB Current Version check
I would like to see a URL similar to
http://ip-to-country.webhosting.info/downloads/ip-to-country.version
that would output something similar to
Thu, 21 Dec 2000 16:01:07 +0200
for the file date for http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip
The php to do show the date could be
date ("r", filemtime(ip-to-country.csv.zip'))
This way we can make a script to auto detect when the DB has been updated and then get it automatically (I have a script that already does this for the browscap.ini file, and it is VERY convenient)
-Thomas
http://ip-to-country.webhosting.info/downloads/ip-to-country.version
that would output something similar to
Thu, 21 Dec 2000 16:01:07 +0200
for the file date for http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip
The php to do show the date could be
date ("r", filemtime(ip-to-country.csv.zip'))
This way we can make a script to auto detect when the DB has been updated and then get it automatically (I have a script that already does this for the browscap.ini file, and it is VERY convenient)
-Thomas
