Re: ip-to-country - summary
| From: | Gabor Hojtsy | Date: | Fri, 02 May 2003 09:06:46 +0000 |
| Subject: | Re: ip-to-country - summary | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17201@lists.php.net to get a copy of this message | ||
> * The first & last line should contain a fixed string. This will ensure
> that this is the db - and - that this updated db has been completely
> downloaded i.e. it is not a partial copy.
>
> First Line: #Directi IP-to-Country Db: Start
> Last Line: #Directi IP-to-Country Db: End
>
> I will put this up as soon as I get a confirmation for it.
>
> Comments are more than welcome.
OK, I'll implement this into the receving code. BTW can we make sure that in
case of the first and last lines are these, there won't be any nasty data
inside the file (ie. PHP error messages?). If no, then I need to check every
record if it is valid or not after the data is downloaded...
Goba