These lines are giving me a parse error at print "$file"; can anyone help?
<?php $path = "my path ..."; chdir($path); $main = opendir($path); while($file = readdir($main)) { print "file"; } ?>
Thanks!
print "$file<br>";
What is the exact error message?