RE: ip-to-country - summary

From: Date: Thu, 01 May 2003 10:44:28 +0000
Subject: RE: ip-to-country - summary
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17170@lists.php.net to get a copy of this message
Final DB Update URL: http://www.directi.com/iptocountry/?site=php.net&dbformat=1&lastupdate=0 The last updated date of the db is : 1051660800 - Divyank > -----Original Message----- > From: Divyank Turakhia [mailto:divyank.t@directi.com] > Sent: Wednesday, April 30, 2003 11:12 PM > To: 'Gabor Hojtsy'; 'Sandeep S.' > Cc: php-mirrors@lists.php.net > Subject: RE: ip-to-country - summary > > > > > Can we make this data downloadable in the form Divyank said > > before (that we > > pull an URL with appropriate params, and get the results). > > Please implement > > the last_modified parameter as described, as it seems we can > > make use of it. > > > > Ya sure :o). I believe sundeep put up the file in the format that we > discussed, so that we can start the initial testing and freeze on the > dbformat. > > I have penned down the specs that were discussed earlier: > > ) The url will be as follows: > http://www.directi.com/iptocountry/iptocountry.php?site=php.net&dbformat =1&lastupdate=unixtimestamp * This URL will output a text file containing the data in the specified format. If there are no updates since the lastupdate date then the text file will contain "no updates". Params: ======= * site - This would help us identify the group of sites requesting the data. All php related websites would send this as php.net * dbformat - In case we start giving additional params that php.net wants to use, we just need to update the version number. This will allow us to maintain a single script for all formats. We will provide the update as per the format requested. * lastupdate - we will return a "no updates", in case the db has no new updates since the lastupdated date. The time will be in GMT/UTC. I will send a mail to the list as soon as I put up the php script. - Divyank

« previous php.mirrors (#17170) next »