[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/wysiwyg/shared/tiny_mce/plugins/ibrowser/scripts/phpThumb/demo/ -> index.php (source)

   1  <?php
   2  if (!@$_REQUEST['list']) {
   3      header('Location: phpThumb.demo.demo.php');
   4      exit;
   5  }
   6  echo '<html><body>';
   7  $dh = opendir('.');
   8  while ($file = readdir($dh)) {
   9      if (is_file($file) && ($file{0} != '.') && ($file != basename(__FILE__))) {
  10          echo '<tt>'.str_replace(' ', '&nbsp;', str_pad(filesize($file), 10, ' ', STR_PAD_LEFT)).'</tt> <a href="'.$file.'">'.$file.'</a><br>';
  11      }
  12  }
  13  echo '</body></html>';
  14  ?>


Generated: Mon Dec 1 03:56:46 2008 Cross-referenced by PHPXref 0.7