i'm uploading a 70mb ZIP file. perhaps debugging may be putting things out of sync? when i don't have the file in the file input, i get the post data, but when i do, the post data is empty.
<form method="post" action="load_statements.php?action=load" id="form1" enctype="multipart/form-data">
i have fields (with the name attribute) and a submit button inside the form. however, when i try to access them, i get:
Notice: /fiq_local/load_statements.php line 33 - Undefined index: statementType
Notice: /fiq_local/load_statements.php line 45 - Undefined index: year
Notice: /fiq_local/load_statements.php line 47 - Undefined index: idVar
Notice: /fiq_local/load_statements.php line 49 - Undefined index: attachment
they all follow the same syntax. here is one:
$statementType = $_POST['statementType'];
it seems that the upload is taking a long time, so i'm guessing it's the problem. how can i deal with a large file upload and still get the post data?
i set the following in my php.ini:
; Maximum allowed size for uploaded files.
upload_max_filesize = 1000M