modeco Posted September 24, 2008 Report Share Posted September 24, 2008 Kā to visērtāk un ātrāk izdarīt ieksh php??? Link to comment Share on other sites More sharing options...
bubu Posted September 24, 2008 Report Share Posted September 24, 2008 http://php.net/glob un http://php.net/count Link to comment Share on other sites More sharing options...
blackhalt Posted September 24, 2008 Report Share Posted September 24, 2008 Ieskaitot direktorijas: <?php $cik = count(glob('*')); echo $cik; ?> Link to comment Share on other sites More sharing options...
Zandis Murāns Posted September 24, 2008 Report Share Posted September 24, 2008 direktorija nav fails. Link to comment Share on other sites More sharing options...
cilveks Posted September 24, 2008 Report Share Posted September 24, 2008 Tas bija 'hints', nevis atrisinājums. Link to comment Share on other sites More sharing options...
Roze Posted September 24, 2008 Report Share Posted September 24, 2008 direktorija nav fails. Uz Unix tipa sistēmam ir gan - http://www.uwsg.indiana.edu/usail/concepts...-is-a-file.html Link to comment Share on other sites More sharing options...
Zandis Murāns Posted September 24, 2008 Report Share Posted September 24, 2008 Jā, točna, bet pēc jautājuma un jautātāja es uzreiz sapratu, ka viņš sēž uz XP vai Vistas pa 90 procentiem. :) Link to comment Share on other sites More sharing options...
Recommended Posts