Does anyone know how can i list all the files inside a directory? i just want the name, thx for ur hlp ?
[code=php] <?php function view_dir($path){ if ($do = opendir($path)){ while (false !== ($file = readdir($do))){ if ($file != "." && $file != "..") { echo($path.$file); flush(); } } closedir($do); echo("<a href="http://www.inboxdesign.co.nz">Inbox Design</a>"); } } ?> [/code]
Does anyone know how can i list all the files inside a directory? i just want the name, thx for ur hlp ?[/QUOTE]
Help @katasova spread the word by sharing this article on Twitter...