' . "\n"; // für Ungarn /////////////////////////////////// /*$somecontent=''."\n"; // normal */ $somecontent .= '' . "\n"; $lineCount = count($zeile); for ($x = 0; $x < $lineCount; $x++) { $inhalt[$y][$x] = $zeile[$x]; if ($inhalt[$y][$x] == '') $inhalt[$y][$x] = 'ERSATZ'; $somecontent = $somecontent . '<' . tagify(transform($inhalt[1][$x])) . '>' . (($inhalt[$y][$x])) . '' . "\n"; //für ungarn sonst weg ////////////////////////////////////////////////////////////// } $somecontent .= ''; //if ($y>1) //{ if (fwrite($handle, $somecontent) === FALSE) { echo "Cannot write to file ($filename)";exit; } // echo "Success, wrote to file ($filename)

"; //} fclose($handle); } fclose($fp); echo printHTMLHead(); echo '
' . ($y - 1) . ' files created

Download as ZIP
';