Danke, das geht ja richtig schnell hier.
Hab es gleich mal eingebaut
www.kulturkompass.com/wochenanzeiger/upload.php
Leider kommt immer folgende Fehlermeldung:
Fatal error: Maximum execution time of 30 seconds exceeded in /www/htdocs/v074156/wochenanzeiger/upload.php on line 14
Das ist Line 14:
$temp[$i]=explode("|", $entries[$i]);
Und hier nochmal das ganze Script:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?PHP
$entries=file("daten.dat");
$i=0; while ($i<count($entries))
{
if ($entries[$i]!="")
{
$temp[$i]=explode("|", $entries[$i]);
$news_ids[$i]=$temp[$i][2];
$news[$i] = $temp[$i][10];
}
$i+2;
}
$i=0; while ($i<count($news_ids))
{ echo $news_ids[$i].": ".$news[$i]; $i++; }
exit;
?>
</body>
</html>