Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 1st, 2012  |  syntax: PHP  |  size: 0.13 KB  |  views: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. $files = scandir('./css');
  3. $regex = 'something';
  4. foreach($files as $file)
  5. {
  6.         if(preg_match($regex, $file))
  7.                 include $file;
  8. }
clone this paste RAW Paste Data