$txt = array("pdf", "txt", "doc", "php"
$grafik = array("png", "gif", "bmp", "jpg"
$archiv = array("rar", "zip", "ace"
$sound = array("mp3", "mp2", "wma", "wav"
$ext = $path_parts["extension"];
if(in_array("$ext", $archiv)) {
echo "<img src='img/rar.gif'>";
} elseif (in_array("$ext", $txt)){
echo "<img src='img/txt.gif'>";
} elseif (in_array("$ext", $grafik)){
echo "<img src='img/foto.gif'>";
} elseif (in_array("$ext", $sound)){
echo "<img src='img/mp3.gif'>";}
ein fehler soll in
} else (in_array("$ext", $sound)){
der zeile sein
komme aber nich dahinter
OS: Windows XP
CPU: AMD Athlon XP 3200+
RAM: 512MB DDR PC3200 (Dual Channel)
Mainboard: MSI K7n2 Delta-L
HDD: 80GB WD
Graka:Radeon 9600 Pro
=>
Alekeijer Straussbuwe