I try to do with this codes,but I can't find my mistake.
Please tell me my mistake
opendir(???)what should I write(???)
I don't know what to put.
Where should I change ?
Please tell me
<?php
if ($handle = opendir('c:\itohideo\ito2.php')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file\n";
}
}
closedir($handle);
}
?>
Please tell me my mistake
opendir(???)what should I write(???)
I don't know what to put.
Where should I change ?
Please tell me
<?php
if ($handle = opendir('c:\itohideo\ito2.php')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file\n";
}
}
closedir($handle);
}
?>
Comment