![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 2 Pomógł: 0 Dołączył: 17.09.2002 Ostrzeżenie: (0%) ![]() ![]() |
Czy ktos z Was potrafi mi wytlumaczyc, w jaki sposob dziala ta funkcja, a w zasadzie, dlaczego nie dziala
![]() wywala sie po dotarciu do miejsca oznaczonego na czerwono ![]() POMOCY. function buildNewsfile () { global $hostdir, $newsfile, $rowResultsArray; $newsfile = array(); $td = dir($hostdir."database/articles/"); while ($filename = $td->read()) { $s = strtolower($filename); if (('.'.fileExt($s)) == ".txt") { $story = getStory($hostdir."database/articles/".$filename); $last = $hostdir."database/articles/".$filename; $newsfile[$filename] = $last; } arsort($newsfile); } $rowResultsArray=array(); for(reset($newsfile); $key = key($newsfile); next($newsfile)) { $rowResultsArray[] = key($newsfile); } } |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 24.07.2025 - 17:44 |