Scenarios: $QUERY_STRING*"; $packageprefix=$QUERY_STRING; $aDirectory=dir("scenarios"); $index = 0; while ($anEntry = $aDirectory->read()) { if ($anEntry != "." && $anEntry != "..") { if (strstr($anEntry,$packageprefix)){ $line = "$anEntry
"; echo "$line"; } } } aDirectory.closedir(); ?>