SHARE
TWEET

Untitled

a guest Mar 15th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     $dir = opendir("/home/fabian/Downloads");
  3.     $count = 0;
  4.    
  5.     while (($file = readdir($dir)) !== false)
  6.     {
  7.     $filelength = strlen($file);
  8.         for ($filelength<=150;$filelength>$count;$count++){
  9.             echo "<option value='$count'>$file</option>";
  10.         }
  11.     }
  12.  
  13.     closedir($dir);
  14. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top