Posted By

nhassan on 08/03/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


php get real files


 / Published in: PHP
 

  1. $files = scandir('images');
  2. foreach( $files as $file ) { if(substr($file,0,1)!='.') {
  3. echo $file;
  4. }}

Report this snippet  

You need to login to post a comment.