Hi Guys
First sorry for my bad english.
I have a strange problem with php upload form.
When i click on submit button ( with uploaded pdf ) nothing happens.
The pdf file is 17MB, but with smaller PDF the form works perfectly.
Here is the form code:
<form id="pdf" name="pdf" method="post" action="" target="_self" enctype="multipart/form-data" >
<p align ="center">
<input type="hidden" name="app_id" value="<?php print $app_id?>">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000000000">
<input type="file" name="file1" value="Upload PDF" device="files" accept="text/pdf" />
<input type="submit" name="sent" value="Send" />
</p>
</form>
at the beginning of the upload.php i have the following lines:
$sent = isset($_POST['sent']) ? $_POST['sent'] : false;
When i debug $sent and $_POST i saw that they are empty : (
With smaller PDF works perfectly but now with 17MB pdf $sent is empty,the result from print_r($_POST) is Array()
in php.ini i changed MAX UPLOAD to 20MB and then restarted my apache , but i think this doesn't matter.
This problem is very strange : )
Thanks in advance:)