I’m using the following HTML to upload an image (and some other fields)
<form action="action.php" method="post" enctype="multipart/form-data">
<input type="text" name="title"> <br>
<textarea name="description"></textarea><br>
<input type="file" name="image"><br><br>
<input type="submit" value="Upload" name="upload">
</form>
Pretty basic, except for one thing. The “image” file upload is being sent blank. No file is being uploaded. Temp location doesn’t exist. $_POST[‘image’] comes up empty.
What gives?