I am trying to upload a file using a form. I am using the code below. It works well for files under 2 MB. I contacted my ISP and they said my maximum file upload size is 10 MB. Does this look like something on my end or does it look like a server configuration problem?
Thanks in advance!
This is the code for my form:
<tr>
<td>Upload File:</td>
<td><input type="hidden" name="MAX_FILE_SIZE" value="1000000000">
<input type="file" name="upfile"/></td>
</tr>
This is the code the processes the file:
if (move_uploaded_file($_FILES['upfile']['tmp_name'], $uploaddir)) {
print("file upload was successful");
} else {
print("file upload failed");
}