Codice PHP:<?php
$directory = './';
$d = dir($directory);
while ($read = $d->read()){
if($read != '.' && $read != '..' && strrchr($read,'.')==".txt") {
echo (str_replace(strstr($read,"."),'',$read)) . "
";
}
}
$d->close();
?>![]()
Codice PHP:<?php
$directory = './';
$d = dir($directory);
while ($read = $d->read()){
if($read != '.' && $read != '..' && strrchr($read,'.')==".txt") {
echo (str_replace(strstr($read,"."),'',$read)) . "
";
}
}
$d->close();
?>![]()