sviesc Posted November 14, 2003 Report Share Posted November 14, 2003 Man te tāds jautājiens neraru izštukot kā uzraxtīt scriptu kurš nolas dir un tad tā saturu izrukā pārlūkā (tikai failu nosaukumu) ar linku uz konkrēto failu, bez vaila palašinājuma un tie faili ir *.doc :blink: Link to comment Share on other sites More sharing options...
RuncZ Posted November 14, 2003 Report Share Posted November 14, 2003 palasi te viss baigi skaisti uzrakstiits ja tev vajag apgraiziit failu paplashinaajumus, var lietot preg_replace("/\.ext/","",$faila_nosaukums) vai arii explode() Link to comment Share on other sites More sharing options...
CryRat Posted November 14, 2003 Report Share Posted November 14, 2003 <? foreach (glob("dir/*.doc") as $filename) echo $filename; ?> Link to comment Share on other sites More sharing options...
Recommended Posts