PHP

VERY SIMPLE PHP FILE UPLOAD

<form action="up.php" method="post"    enctype="multipart/form-data">   <input type="file" name="up" required/>   <input type="submit" value="Go"/> </form>

HTML FILE UPLOAD FORM

01

$src = $_FILES["up"]["tmp_name"]; $dest = $_FILES["up"]["name"];   move_uploaded_file($src, $dest);

PHP UPLOAD HANDLER

02