<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019837" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019837</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120384</link>
    <description> &lt;p&gt;The bits listed on this page: &lt;a href=&quot;http://www.blazonry.com/scripting/upload-size.php&quot; class=&quot;bb-url&quot;&gt;http://www.blazonry.com/scripting/upload-size.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&quot;djpeg, cjpeg and pnmscale&quot;&lt;/p&gt;
&lt;p&gt;I was initially attempting to use this script, before I got involved with 4 other tutorials and scripts and basically got myself all turned around inside out and sideways and apparently left in the resizing part when changing the rest.&lt;/p&gt;
&lt;p&gt;However! I did manage to get it working, so I&#039;m quite pleased about that part.&lt;/p&gt;
&lt;p&gt;Your job is SO not in danger from me... :eek:&lt;/p&gt;
 </description>
     <pubDate>Mon, 02 Dec 2002 03:01:04 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1120384 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120381</link>
    <description> &lt;p&gt;What&#039;s missing?  The GD support?&lt;/p&gt;
 </description>
     <pubDate>Mon, 02 Dec 2002 02:42:20 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1120381 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120365</link>
    <description> &lt;p&gt;K, I figured out what the problem was -- I was trying to include resizing without having the correct modules installed, so it was failing at the resize level, something the thumbnails avoided by being too small.&lt;/p&gt;
&lt;p&gt;So there you go. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Dec 2002 22:52:54 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1120365 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120314</link>
    <description> &lt;p&gt;okay, I&#039;m totally flummoxed now. I used a script from Web Blazonry and removed the resizing part and it works fine. With the resizing part, I had the same errors as I was getting with my own (i.e. file saved as 0b).&lt;/p&gt;
&lt;p&gt;!? &lt;/p&gt;
&lt;p&gt;Okay, not going to think about it. Thanks for helping me rule things out. I&#039;m going to assume I had a bad space or misplaced semi-colon or something and run with it.&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Dec 2002 01:03:54 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1120314 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120313</link>
    <description> &lt;p&gt;The other script is Gallery, and it&#039;s quite a lot of effort to download it, configure it and set it up just to test, but I suppose, lol, if I can&#039;t get it right, I will!&lt;/p&gt;
&lt;p&gt;I don&#039;t know where to find the tmp directory? &lt;/p&gt;
&lt;p&gt;Yes, I wrote it, or rather, put it together using a bunch of other scripts, including &lt;a href=&quot;http://www.php.net/manual/sk/printwn/features.file-upload.php&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/sk/printwn/features.file-upload.php&lt;/a&gt; where a user seems to have a similar problem but no solution?&lt;/p&gt;
&lt;p&gt;The problem for me is that it works for small images, but not larger ones. So clearly it&#039;s working to some extent -- it&#039;s just the file size? I tried changing MAX_FILE_SIZE to max_file_size and such, but it didn&#039;t seem to have an effect.&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Dec 2002 00:17:11 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1120313 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Re: PHP File Upload not working for larger images?</title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120307</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by Suzanne &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;but other applications on similar servers have the ability to upload 225k images without problems through another script.&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; Have you tried that other script on this server?&lt;br /&gt;
Did you write the script your using or download it somewhere?&lt;/p&gt;
&lt;p&gt;Timeout was the first thin I thought of.  The &lt;a href=&quot;http://www.php.net/manual/en/ref.info.php#ini.max-execution-time&quot; class=&quot;bb-url&quot;&gt;max_execution_time&lt;/a&gt; is typically set to 30 seconds, which should really be enough.  You might try extending this just to try it:&lt;br /&gt;
&lt;a href=&quot;http://www.php.net/manual/en/function.set-time-limit.php&quot; class=&quot;bb-url&quot;&gt;set_time_limit&lt;/a&gt;(30);&lt;/p&gt;
&lt;p&gt;Another (unlikely) cause -- does the destination upload directory (the tmp directory) have enough space?&lt;/p&gt;
 </description>
     <pubDate>Sat, 30 Nov 2002 23:32:35 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1120307 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120302</link>
    <description> &lt;p&gt;Well if nothing else, I can rule out those problems...&lt;/p&gt;
&lt;p&gt;The upload_max_blahblah is set to 2M, the max_file_size is set to 1200000 (which ought to really be more than enough for a 35000b file).&lt;/p&gt;
&lt;p&gt;None of the images have spaces (they are all one word names like yucca.jpg).&lt;/p&gt;
&lt;p&gt;I&#039;m the only one with access to the script.&lt;/p&gt;
&lt;p&gt;Traffic to the database is painfully light. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt; &lt;/p&gt;
&lt;p&gt;So... now that we&#039;ve eliminated possible causes (thanks, Busy!), what is left?&lt;/p&gt;
&lt;p&gt;The thumbnails upload like a dream, just float on in there. The larger images appear to upload, but are 0kb when they get to the final directory.&lt;/p&gt;
&lt;p&gt;Ideas on what to look for would be great! I don&#039;t even know what to call this, lol...&lt;/p&gt;
 </description>
     <pubDate>Sat, 30 Nov 2002 23:03:22 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1120302 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/php-file-upload-not-working-larger-images#comment-1120292</link>
    <description> &lt;p&gt;This isn&#039;t the answer to your question but is related.&lt;br /&gt;
two people using the form at the same time can corrupt the item (text or image) unless provisions are set for this. (I&#039;m trying to sort this out myself). also spaces in input (filename)&lt;/p&gt;
&lt;p&gt;Also time outs can affect them if traffic to the database is heavy, but since your just testing doubt would be any of these.&lt;/p&gt;
 </description>
     <pubDate>Sat, 30 Nov 2002 21:49:44 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1120292 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
