Re: [PHP] Can´t upload files bigger than 50KB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adam:

     I don´t understand well your point.
     I do some time tests (production environment) uploading files from 1KB
to 47 KB, in all of the cases the time is the same (more or less), about 4,5
seconds.
    The magic size is 48KB, can´t upload files bigger that this :-(

2011/3/9 Adam Richardson <simpleshot@xxxxxxxxx>

> Hi Gotzon,
>
> I'm wondering if your javascript is timing out. On the development server,
> is everything local so it's happening close to instantly? If so, it's
> possible that the latency of your production environment is causing the
> issue, as it's taking longer to process the request than the ajax script
> has
> allotted. That could explain why a 20K upload would work and a 50K isn't.
> 50K isn't that big, but if the timeout was set to one or two seconds, I
> suppose it's possible.
>
> Adam
>
> On Wed, Mar 9, 2011 at 10:02 AM, Gotzon Astondoa <gastondoa@xxxxxxxxx
> >wrote:
>
> > Upload form is OK, I can upload 5MB files in development server.
> >
> > 2011/3/9 Jay Blanchard <jblanchard@xxxxxxxxxx>
> >
> > > [snip]
> > > 50KB
> > > [/snip]
> > >
> > > Have you checked the upload form itself for max_file_size?
> > >
> >
>
>
>
> --
> Nephtali:  A simple, flexible, fast, and security-focused PHP framework
> http://nephtaliproject.com
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux