Remove obsolete files for generating iso8859 XML files

This commit is contained in:
2019-09-01 19:58:23 +02:00
committed by Stefan Rohde-Enslin
parent 13395387a0
commit 1f766c7eca
6 changed files with 20 additions and 82 deletions

View File

@ -35,7 +35,7 @@ mkdir("xml", 0755);
$fp = fopen ($csv_datei, 'r');
$y = 0;
while ($zeile = fgetcsv($fp, 100000, ';')) {
$y++;
$zieldatei = 'xml/' . $y . '.xml';
if (!$handle = fopen($zieldatei, 'w')) {
@ -58,7 +58,7 @@ while ($zeile = fgetcsv($fp, 100000, ';')) {
echo "Cannot write to file ($filename)";exit;
}
fclose($handle);
}
fclose($fp);