title: How can i disable apache multipart/form-data handling?
body: <p>i have the following php code </p>
  
  <pre><code>&lt;form method="post" enctype="multipart/form-data"&gt;
  &lt;input type="file" name="fil"&gt;
  &lt;input type="submit"&gt;
  &lt;/form&gt;
  &lt;?php
  
  foreach(getallheaders() as $name){
  if(preg_match("~multipart/form-data~",$name)){
       die("trying to upload something?");
  }
  }
  ?&gt;
  </code></pre>
  
  <p>the problem is php handles the file after it is processed by apache.<br>
  what i want is to take control of the multipart/form-data before it even get processed with apache.<br></p>