Jump to content

[SOLVED] index.php for ftp folders help


mtb211

Recommended Posts

okay when i upload files to ftp folders I allow the user to login via http

 

currently this is my code for the user.. very simple.. I was hoping to add a more professional look... maybe just a regular windows explorer look for the user, the thing is when I use dreamweaver with php there is no graphical view, any ideas?

 

 

<?

echo "Hier sind die Bereitgestellten Dateien<br><br>";

$action=opendir("./");

while($datei=readdir($action)){

if(!preg_match("!(\.|\..)$!", $datei)){

if ($datei!="index.php" && $datei!=".htaccess" && $datei!=".htpasswd" ) {

echo "

<a href=\"$datei\">

 

$datei</a><br>"; } } } ?>

Link to comment
https://forums.phpfreaks.com/topic/136037-solved-indexphp-for-ftp-folders-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.