fork download
  1. <?php
  2.  
  3. $cat = dir(".");
  4. while (($file = $cat->read())==! false){
  5. echo $file.'<br>';
  6. }
  7. $cat->close();
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
.<br>prog.php<br>..<br>