Salut baieti, am nevoie de un script php care sa imi creeze o pagina de download cu toate fisierele ce se gasesc intr-un folder pe server deci sa fie index.php si folder in index sa se creeze o lista automat cu ce fisiere sunt in folder.
Sper ca am fost desutl de clar. Va multmumesc anticipat.
Pagina 1 din 1
Script php
#2
Scris 15 August 2008 - 04:24 PM
Adapteaza-l, n-am testat
<?php
if ($dh = opendir("."))
{
while (($file = readdir($dh)) !== false) {
echo "fichier : $file : type : " . filetype($dir . $file) . "\n";
}
closedir($dh);
}
}
?>
<?php
if ($dh = opendir("."))
{
while (($file = readdir($dh)) !== false) {
echo "fichier : $file : type : " . filetype($dir . $file) . "\n";
}
closedir($dh);
}
}
?>
Impartaseste acest subiect:
Pagina 1 din 1
Subiecte similare
| Topic | Deschis de | Replici | Vizualizari | |
|---|---|---|---|---|
|
site web pe wamp server | newcristy | 1 | 3.815 |
|
vreau sa stiu sun site bun de gazduire
vreau sa stiu sun site bun de gazduire |
Nea'Jiji | 8 | 2.664 |
|
Script torrent | Andreyy16 | 8 | 2.047 |
|
O problema cu google!
Am o problema cu google |
darkady | 18 | 4.655 |
|
Cum sa promovezi un site? | nicuz | 20 | 14.019 |
Contact
Facebook
Twitter
RSS













