I´m currently writing a log parser for iis.
But i ran into a strange problem.
When i do:
Code: Select all
$log_path = opendir('C:\\WINNT\\system32\\LogFiles\\MSFTPSVC1');
while (false !== ($files = readdir($log_path)))
{
echo "$files<br>";
}The directory exists allright, but when i do:
Code: Select all
$log_path = opendir('C:\\WINNT\\system32\\LogFiles');
while (false !== ($files = readdir($log_path)))
{
echo "$files<br>";
}I get the directory listed, which i wanted to open.
Anybody has any ideas?
I have checked file permissions. That´s not the problem.
/Owe Blomqvist