13, 2002 2:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] File Upload size limit
Sorry for bringing up an old problem, (there seem to be many articles in
the archives already) but I couldn't find the solution there so here is my
version of the problem ;-)
I am running php 4.2.2 on a virtual hos
> No, I mean PHP. The 4.2.2 release was a security fix for 4.2.1 only.
> None of the changes for the past couple of months, including this one, is
> in it.
OK, but you said originally
> post_max_size and upload_max_filesize could not be set in your .htaccess
> file until recently. It was chang
> Thanks for quick response. Just a couple of silly questions:
>
> - changed where? in php or apache? My host is running the "three week old"
> v 4.2.2 of php so I guess you mean apache?
No, I mean PHP. The 4.2.2 release was a security fix for 4.2.1 only.
None of the changes for the past couple
Thanks for quick response. Just a couple of silly questions:
- changed where? in php or apache? My host is running the "three week old"
v 4.2.2 of php so I guess you mean apache?
- If I can in fact get them to change it in http.conf for my virtual host
block then I will have these huge (!) set
post_max_size and upload_max_filesize could not be set in your .htaccess
file until recently. It was changed about 3 weeks ago, so unless your
provider is running a recent snapshot, you won't be able to get this to
work.
Ask your provider to add those lines to your virtualhost block in the
httpd
Sorry for bringing up an old problem, (there seem to be many articles in
the archives already) but I couldn't find the solution there so here is my
version of the problem ;-)
I am running php 4.2.2 on a virtual host, so I have no access to php.ini.
But I can use the apache directives in .htac
If you have been changed your php.ini to accept larger uploaded files.
Then there are many possibilities. If you explain what kind of environment you
have and it's settings,
someone might be able to help you.
Regards,
--
Yasuo Ohgaki
""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PRO
> ""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've modified a script for uploading multiple files
> > and am trying to get it to produce an error if the
> > size of the file is larger than 2 MB but can't get it
> > to work. Here is the code
""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've modified a script for uploading multiple files
> and am trying to get it to produce an error if the
> size of the file is larger than 2 MB but can't get it
> to work. Here is the code in question
I've modified a script for uploading multiple files
and am trying to get it to produce an error if the
size of the file is larger than 2 MB but can't get it
to work. Here is the code in question with the
who code below. When I try to upload a 3 MB
file it doesn't produce an error. Everything els
10 matches
Mail list logo