![]() |
![]() |
![]()
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ę. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 15:04 |