html - PHP Upload Form: Why isn't my multipart/form-data form sending any POST data? (LARGE FILE UPLOADING) -


I'm uploading a 70MB zip file Perhaps the debugging may have to be kept out of sync ? When I do not have the file input in the file, I get the post data, but when I do, the post data is empty.

  & lt; Form method = "post" action = "Load_statements.php? Action = load" id = "form1" antipype = "multipart / form-data" & gt;  

I have a field (with the name attribute) and there is a submit button inside the form However, when I try to reach them, I get:

< Pre> notice: /fiq_local/load_statements.php line 33 - undefined index: statement type 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

and All follow the same syntax, here's one:

  $ statementType = $ _POST ['statement type'];  

It seems that uploads are taking a long time, so I think this is a problem. How can I work with large file uploads and still get post data?

I set the following in my php.ini:

 ; Maximum allowed size for uploaded files. Upload_max_filesize = 1000M  

It was all done with php configuration!

You need it:

 ; Maximum allowed size for uploaded files.   Maximum size of POST data that PHP will accept. Post_max_size = 1000M  

Comments