neprasa Posted February 2, 2007 Report Share Posted February 2, 2007 sakuma caur glob jdabu failus, tad sakratot failus pec pedeja editesanas datuma, un paradit, piemeram $kurs = "34"; tad parada 34 failu, no tiem failiem kuri sakratoti pec datuma, ka to uzrakstiit? Link to comment Share on other sites More sharing options...
Paulinjsh Posted February 2, 2007 Report Share Posted February 2, 2007 (edited) Talkā nāks masīvi un sort() Edited February 2, 2007 by Paulinjsh Link to comment Share on other sites More sharing options...
Stopp Posted February 2, 2007 Report Share Posted February 2, 2007 Es gan nezinu, kā noteikt faila pēdējās editēšanas laiku, bet, ja tas tev ir, tad sagrīd masīvā un natsort + array_reverse Link to comment Share on other sites More sharing options...
neprasa Posted February 2, 2007 Author Report Share Posted February 2, 2007 date("m.d.y H:i:s.", filemtime(c:\fails.mp3)); Link to comment Share on other sites More sharing options...
Paulinjsh Posted February 2, 2007 Report Share Posted February 2, 2007 stopp ar http://lv.php.net/manual/en/function.filemtime.php Link to comment Share on other sites More sharing options...
Stopp Posted February 2, 2007 Report Share Posted February 2, 2007 Paldies. neprasa, neticu, ka tev tā rindiņa darbojas :) Link to comment Share on other sites More sharing options...
neprasa Posted February 2, 2007 Author Report Share Posted February 2, 2007 tad kads man pateiks ka to rakstit ?? :( Link to comment Share on other sites More sharing options...
Recommended Posts