Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ($handle = opendir('CD300/')) {
- while (false !== ($file = readdir($handle)))
- {
- if ($file != "." && $file != ".."){
- $thelist .= '<a href="/CD300/'.$file.'" target="_blank"
- style="color: #0f33cc">'.$file.'</a></br>';
- }
- }
- closedir($handle);
- }
- echo "
- <div id='output'>
- List of help files:</div>
- <div id='List'>
- <?=$thelist
- </div>"
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement