Das sieht ja aus als wolltest du werte aus einer Datei in ein Array packen.
Das macht PHP doch schon automatisch mit file().
Wenn ich eine Flatfile-DB anlege mache ich das wie folgt beim auslesen:
FUNCTION ----------------------------------------------
$fileopen = fopen ("user.inc.php", "r+");
$lines = file ("user.inc.php");
//verarbeitung
fwrite($fileopen,$file_string);
fclose($fileopen);
----------------------------------------------
ciao
--
<NetPanther> Na, die Stadt ist Developia, die Hauptstadt von Developien!
<NetPanther> Developien ist übrigens ein Entwicklungsland!
<acid`awy> bossi was haste fuern abschluss ?
<[DEF]Bossland> tdsl
http://german-bash.org/action/top/n/50
sh:) fo:| ch:{ rl:( br:& n4:~ ie:| mo:? va:{ de:< zu:| fl:) ss:| ls:< js:|
<NetPanther> Na, die Stadt ist Developia, die Hauptstadt von Developien!
<NetPanther> Developien ist übrigens ein Entwicklungsland!
<acid`awy> bossi was haste fuern abschluss ?
<[DEF]Bossland> tdsl
http://german-bash.org/action/top/n/50
sh:) fo:| ch:{ rl:( br:& n4:~ ie:| mo:? va:{ de:< zu:| fl:) ss:| ls:< js:|