Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 324231147c7c77a2a6bbb96ff6c57cf3ff5cdab1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
<body>

<?php
  echo "<h2>Scenarios: $QUERY_STRING*</h2>";

  $packageprefix=$QUERY_STRING;

  $aDirectory=dir("scenarios");
  $index = 0;

  while ($anEntry = $aDirectory->read()) {
    if ($anEntry != "." && $anEntry != "..") {
      if (strstr($anEntry,$packageprefix)){
        $line = "<a href=\"scenarios/$anEntry\">$anEntry</a><br>";
        echo "$line";
      }
    }
  }

$aDirectory->close();
?>

</body>
</html>

Back to the top