21.02.2011, 15:49
Quote:
What about this... I know your problem is with parsing $file into the echo... Just can't figure out why...
Код:
<?php if ($handle = opendir('uploads')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "<u><a href=".$file.">$file</a></u><br/>"; } } closedir($handle); } ?> |
thanks!