root/sovereignty/readsovsys.php5 @ 461

Revision 246, 332 bytes (checked in by exi, 13 years ago)

Added current sovereignty codebase

Line 
1<?php
2
3include('evedb.php');
4
5$f = fopen('sovsystems.txt', 'r');
6
7while ($line = fgets($f))
8{
9    $edb->query('select solarSystemID from mapsolarsystems where solarSystemName like \'%'.trim($line).'%\'');
10    $tmp = $edb->fetch_array();
11    $edb->query('insert into mapinfluenceinject values ('.$tmp['solarSystemID'].', 60)');
12}
13
14?>
Note: See TracBrowser for help on using the browser.