<?php
$file=opendir("c:/apache-tomcat-6.0.16");
while($a=readdir($file))
{
echo $a."<br>";
}
?>
Output
.
..
bin
conf
lib
LICENSE
logs
NOTICE
RELEASE-NOTES
RUNNING.txt
spring1.war
temp
webapps
work
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.