1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> < html > < head > < title >ftp.php</ title > </ head > < body > <? $Username=$HTTP_POST_VARS["Username"]; $Server=$HTTP_POST_VARS["Server"]; $Port=$HTTP_POST_VARS["Port"]; $Pw=$HTTP_POST_VARS["Pw"]; $folder=$HTTP_POST_VARS["Ordner"]; $conection=ftp_connect($Server,$Port); $verbindung=ftp_login($conection,$Username,$Pw); if ($verbindung) echo "eingelogt"; else echo "invalide ID or Username"; $folder = ftp_pwd($conection); $liste = ftp_nlist($conection,$folder); echo implode(< a href"=$liste">>," - "); ?> </ body > </ html > |
wie schaffe ich es das ich die Array $liste mit html Formatiert ausgeben kann und das die Einzelnen Ordner auf dem Webspace Ankliegbar werden so das man so in den entsprechenden ordner gebracht wird.
thx sven123