I have a simple form
<form method="post" action="editownpage.php" id="uploadForm" enctype="multipart/form-data">
<label for="file">xxx</label>
<input type="file" name="file" id="file"> <br>
<label for="uplCss">xxx.</label>
<textarea id="uplCss" name="uplCss"> <?php echo $css; ?></textarea> <br>
<input type="submit" name="uplSubmit" id="uplSubmit" value="Hochladen">
</form>
The textarea field works like a charm, but I want to let the user upload a image. But when I do this var_dump($_FILES['file']);
it is always null
. No image can be processed ? What can be the reasons ? The max. file size in the php.ini is set to 3mb. The images I'm uploading are 70kb.