' . "\n"; // für Ungarn /////////////////////////////////// $somecontent .= '' . "\n"; $lineCount = count($zeile); for ($x = 0; $x < $lineCount; $x++) { $inhalt[$y][$x] = $zeile[$x]; $inhalt[$y][$x] = preg_replace('/[\x00-\x1F\x7F]/u', '', $inhalt[$y][$x]); $inhalt[$y][$x] = str_replace('>', ']', str_replace('<', '[', $inhalt[$y][$x])); if (empty($inhalt[$y][$x])) continue; //if ($y!=1) $inhalt[$y][$x] = ''; $somecontent = $somecontent . '<' . tagify(transform($inhalt[1][$x])) . '>' . (($inhalt[$y][$x])) . '' . "\n"; //für ungarn sonst weg } } $somecontent .= ''; if (fwrite($handle, $somecontent) === FALSE) { echo "Cannot write to file ($filename)";exit; } fclose($handle); } fclose($fp); echo printHTMLHead(); echo '
' . ($y - 1) . ' files created
Download as zip
'; echo ' ';