SHOW:
|
|
- or go back to the newest paste.
| 1 | <html> | |
| 2 | <head> | |
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
| 4 | <title>test</title> | |
| 5 | </head> | |
| 6 | ||
| 7 | <body> | |
| 8 | ||
| 9 | </body> | |
| 10 | ||
| 11 | <?php | |
| 12 | - | $dirname = "/images/personal/endicott/"; |
| 12 | + | $dirname = "."; |
| 13 | ||
| 14 | $dir = opendir($dirname); | |
| 15 | ||
| 16 | while(false != ($file = readdir($dir))) | |
| 17 | {
| |
| 18 | if(($file != ".") and ($file != "..")) | |
| 19 | {
| |
| 20 | echo("<a href='".$file."'>".$file."</a><br />");
| |
| 21 | } | |
| 22 | } | |
| 23 | ?> | |
| 24 | ||
| 25 | </html> |