Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="POST">
- <input type="text" name="path" value="C:\AppServ\www\\sec4ever\">
- <input type="text" name="type" value="*.php">
- <input type="submit" value="Get File Type"><br>
- <?
- $dir = $_POST['path'];
- $typ = $_POST['type'];
- $phps = glob($dir . $typ);
- foreach ($phps as $php) {
- echo $php;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment