ich weis nicht was ich falsch mache es hat genau 4 bis 5 mal wunderbar funktioniert. Auf einmal nicht mehr und ich habe nichts gemacht am Code.
putenv('TMPDIR=/[b]phptmp[/b]');
$buff = ftp_nlist($conn_id,$dir);
$anzahl = count($buff);
echo "<p>Insgesamt $anzahl Dateien/ Verzeichnisse</p>";
for($count=0;$count < $anzahl;$count++) {
echo "<p>$buff[$count]</p>";
}
Warning: ftp_nlist() [function.ftp-nlist]: open_basedir restriction in effect. File(/phptmp/) is not within the allowed path(s): (/var/www/virtual/nafeo.menkisys.de/:/usr/share/php/) in /var/www/virtual/nafeo.menkisys.de/temperatur/htdocs/Wetter/wetter.php on line 107
Es geht auf einmal nicht mehr und vorher gings.