Unnamed
public text v1 · immutable<?php
$uploaddir = './images/'; /* Change this to the directory and chmod 777 that directory */
if (move_uploaded_file($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { /* replace file with the input name you specified */
echo "File uploaded Successfully";
}
else {
echo "Error uploading file";
?>