Jump to content
php.lv forumi

pub direktorija


Recommended Posts

ok sk! bet lieta tada kur lai es lieku

 

 

<?php

if ($handle = opendir('.')) {

while (false !== ($file = readdir($handle))) {

if ($file != "." && $file != "..") {

echo "$file\n";

}

}

closedir($handle);

}

?>

Edited by alexxx
Link to comment
Share on other sites

×
×
  • Create New...