php - IIS 7.5 loses $_POST data? -


i have following form:

<form method="post" action="./action.php?a=create" enctype="multipart/form-data">     <input name="formtype" type="hidden" value="file" required />     <input name="formparent" type="hidden" value="<?php echo $parentid; ?>" required />     <table class="fixed">         <tr>             <td>                 <p>display name</p>             </td>             <td>                 <input name="formname" type="text" placeholder="enter file name" autofocus autocomplete="off" required />             </td>         </tr>         <tr>             <td>                 <p>select file</p>             </td>             <td>                 <input name="formfile" type="file" placeholder="select file" required />             </td>         </tr>         <tr>             <td></td>             <td>                 <button class="confirm btn-warning" type="submit">submit</button>             </td>         </tr>     </table> </form> 

when attempt upload file server, less 20mb, works fine. when attempt upload larger file, 1gb, $_post data isn't set.

how can tell post data isn't set? when going action page using form, checks see formtype set , displays/runs accordingly. when attempt upload larger file, says $_post['formtype'] isn't set, although looking @ form - is.

my current php.ini config has following different settings: upload_max_filesize = 5000m , post_max_size = 5000m

and have web.config file states:

<?xml version="1.0" encoding="utf-8"?> <configuration>   <system.webserver>     <security>       <requestfiltering>         <requestlimits maxallowedcontentlength="2147483648" />       </requestfiltering>     </security>         <staticcontent>             <mimemap fileextension=".zipx" mimetype="application/x-zipx-compressed" />         </staticcontent>   </system.webserver>     <system.web>         <sessionstate timeout="60" />     </system.web> </configuration> 

why might lose $_post data after amount of time, waiting file upload? possible change form upload timeout?

edit:

print_r($_post) returns array ( )

suggesting taking code, , moving virtual machine.

if put files, configuration lamp stack w/apache - work expected?

testing on apache can verify php code fine.

also, comments, please visit http://www.linuxquestions.org/questions/linux-software-2/large-file-upload-%24_post-empty-in-php-281032/ , issues transfering data between php pages post perhaps in this.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -