Hi,
Der Fehler ist nun, dass beim if immer ein false zurückkommt, egal welchen String ich dort eintrage. Kann mir jemand sagen wieso dies so ist ?
Vermutlich, weil $line nicht das enthaelt, was du annimmst - also ueberpruefst du das jetzt mal mittels var_dump().
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“