I am having a very weird issue with uploading images. Here is my problem:
Here is my form:
<form name='frmThis' action='contacts_edit.php' method='post' onsubmit="return SubmitForm();" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="62914560">
<input name="image_filename" type="file" id="image_filename" class="inputtext">
<input type="submit" value="submit" class='button'>
</form>
My php.ini file has the max_file_size set to 2M which is too small. Even though I have set the max_file_size in the form, I still get an error when I try to upload an image. What am I doing wrong?