This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Description
php code:
$rowstr = file_get_contents('https://raw.github.com/client9/ipcat/master/datacenters.csv');
$rows = explode("\n", $rowstr);
foreach ($rows as $row) {
if (strlen($row) == 0 || $row[0] == '#') {
continue;
}
$parts = explode(',', $row); // it breaks rows to arrays divided by ","
there is one company named as "ThePlanet.com Internet Services, Inc." in datacenters.csv, and it will result in failed on generating code.