<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>uploading large files with php</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/62 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="62"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.ini .de1, .ini .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.ini  {font-family:monospace;}
.ini .imp {font-weight: bold; color: red;}
.ini li, .ini .li1 {color: #DDD;}
.ini .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.ini .co0 {color: #666666; font-style: italic;}
.ini .sy0 {color: #000066; font-weight:bold;}
.ini .st0 {color: #933;}
.ini .re0 {color: #000066; font-weight:bold;}
.ini .re1 {color: #000099;}
.ini .re2 {color: #660066;}
.ini span.xtra { display:block; }
&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="ini"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
2
3
4
5
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;&lt;span class="re1"&gt;post_max_size&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt;&lt;span class="re2"&gt; 20G&lt;/span&gt;
&lt;span class="re1"&gt;upload_max_filesize&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt;&lt;span class="re2"&gt; 20G&lt;/span&gt;
&lt;span class="re1"&gt;max_input_time&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt;&lt;span class="re2"&gt; 1800&lt;/span&gt;
&lt;span class="re1"&gt;max_execution_time&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt;&lt;span class="re2"&gt; 30&lt;/span&gt;
&lt;span class="re1"&gt;memory_limit&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt;&lt;span class="re2"&gt; 16M&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/62/rev-raw/c8757f7850724b1167a8396cd9ecbb7bcf88dddd/0 php.ini" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/62#0 php.ini"&gt;0 php.ini&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;FastCGI: server &amp;quot;/var/www/cgi-bin/php-cgi-5.6.0git&amp;quot; stderr:&#13;
PHP Notice:  Missing mime boundary at the end of the data for file&#13;
51.dat in Unknown on line 0,&#13;
referer: http://test.cyberdyne.nr/upload/upload.php&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/62/rev-raw/c8757f7850724b1167a8396cd9ecbb7bcf88dddd/2 error-with-5.1gib.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/62#2 error-with-5.1gib.txt"&gt;2 error-with-5.1gib.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;Opera 12.16:&#13;
- 4G ok&#13;
&#13;
Chromium 28.0:&#13;
- 4G ok&#13;
- 5.8G, 11G:&#13;
Notice: Missing mime boundary at the end of the data for file 11gib.ts in Unknown on line 0&#13;
Possible file upload attack! Here is some more debugging info:&#13;
&#13;
curl 7.29:&#13;
- 5.1G, 11G: missing mime boundary at end of data&#13;
- 4g: ok&#13;
time curl -F file=@11gib.ts http://test.cyberdyne.nr/upload/upload.php&#13;
&#13;
Firefox 24:&#13;
- 4G ok&#13;
- 5.1G: missing mime boundary&#13;
&#13;
Firefox+Firebug activated: RAM issues&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/62/rev-raw/c8757f7850724b1167a8396cd9ecbb7bcf88dddd/5 browser results.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/62#5 browser results.txt"&gt;5 browser results.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;more than 2gib: &lt;a class="reference external" href="https://bugs.php.net/bug.php?id=44522"&gt;https://bugs.php.net/bug.php?id=44522&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;fix: &lt;a class="reference external" href="http://git.php.net/?p=php-src.git;a=commit;h=8962f3ff0c76c5710f5e14d6f342f44498ff882b"&gt;http://git.php.net/?p=php-src.git;a=commit;h=8962f3ff0c76c5710f5e14d6f342f44498ff882b&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/62/rev-raw/c8757f7850724b1167a8396cd9ecbb7bcf88dddd/6 php.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/62#6 php.rst"&gt;6 php.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
