Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88373 invoked by uid 500); 25 Aug 2003 10:43:43 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 88356 invoked from network); 25 Aug 2003 10:43:43 -0000 Received: from gate1.quantico.usmc.mil (192.156.75.34) by daedalus.apache.org with SMTP; 25 Aug 2003 10:43:43 -0000 Message-ID: <8642B1435846D411B6D000D0B774DB8482A36E@quantico.usmc.mil> From: Caldwell Sgt Brandon L To: "'users@httpd.apache.org'" Date: Mon, 25 Aug 2003 06:47:50 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] RE: Can't POST over 500K It really seems like apache isn't letting me post over 500kb. Here is the sample code I used to test this problem independantly from the bulletin board software:
I may have to break down and send this in chunks, but it really seems that shouldn't be required. As for my phpinfo() response, it list 20M which is what is in php.ini. I've gone all the way up to 200M just to be sure. -----Original Message----- From: Leif W [mailto:warp-9.9@usa.net] Sent: Friday, August 22, 2003 9:54 AM To: users@httpd.apache.org Subject: Re: [users@httpd] RE: Can't POST over 500K If it is in fact a timeout issue, you may want to consider either breaking up the file into smaller chunks and reassembling on the server, or have the script only read so much, then stop and alert the client with a page with a refresh and some javascript to resubmit the file again, and have the server seek to the right position and read another chunk of data, and so on until the file is done. Not sure how to do it in PHP. I think PHP doesn't let you get at the system reads for a file upload, it just does it and sticks it in $_FILES. But Perl will let you do such a thing, as there's no built-in mechanism for file uploads, it has to be coded, or use some module. Leif ----- Original Message ----- From: "Mike" To: Sent: Friday, August 22, 2003 9:36 AM Subject: Re: [users@httpd] RE: Can't POST over 500K > At 06:30 AM 8/22/2003, you wrote: > >So no one else has anything suggestions on this? > > > >-----Original Message----- > >From: Caldwell Sgt Brandon L > >Sent: Wednesday, August 20, 2003 7:46 AM > >To: 'users@httpd.apache.org' > >Subject: Can't POST over 500K > > > > > > Not sure if this is Apache or PHP, but I'm leaning towards Apache. > >I'm using Invision Power Board (also phpBB), and whenever I attempt to > >upload a file, I am limited to 500KB files. I've changed all the setting in > >php.ini as well as the settings in each of the respective BB configurations. > >The error varies per browser: IE returns page not found; Mozzilla return > >"The document has no data."; Konqueror responds with a lost connection. > > I'm using Apache 2.0.40 with PHP 4 on a RedHat 9.0 server. Thanks > > Someone else would be better suited then me to point you were to change it > (whether Apache or PHP or the Bulletin Board software), but I would check > time-out settings. > > 500kb files are pretty large, even for Cable, ISDN and DSL connections. I > just uploaded a 700+kb file to one of our servers (in my case I used a Miva > applet I wrote some years ago to upload the file). > > I'm on business DSL (typically faster than residential DSL services) and > that 700+kb file took awhile to upload. I didn't time it (I should have - > duh). While it didn't take minutes, it wasn't "near instantaneous" either. > > So rather than checking for a "size limit", it might be worth looking into > a potential low time-out setting somewhere in your configuration or > application(s). > > Hope that helps. > -mike > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org