![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 3 Dołączył: 26.07.2008 Ostrzeżenie: (0%) ![]() ![]() |
Jak napisać skrypt, który będzie wyświetlał same foldery z danego katalogu.
Stworzyłem już jeden, ale on wyświetla wszystkie pliki: Kod <?php if ($handle = opendir('folder')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." ) { echo "$file>"; } } closedir($handle); } ?> Proszę o pomoc, z góry dziękuję. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 781 Pomógł: 256 Dołączył: 29.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 05:23 |