httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif W" <warp-...@usa.net>
Subject Re: [users@httpd] RE: Can't POST over 500K
Date Fri, 22 Aug 2003 13:54:17 GMT
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" <mike.lists@levrah.net>
To: <users@httpd.apache.org>
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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message