Re: [phplib] Maxfilesize From: messju mohr (messju <email protected>)
Date: 09/19/00

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

if you comment out the upload_max_filesize statement, the default value (which
is 2097152 Bytes) will be used. You can override this value in your php.ini of
course. You can also override it in a .htaccess-File, so that you can specify
different upload_max_filesize(s) for scripts in different directories.

I dont think that there is a way to circumvent this behaviour (it is not like
max_execution_time, which is unlimited if set to 0). And I *really* don't think
you want files of *really* unlimited size to be uploaded to your server.
(If I'm wrong, you want to patch the file rfc1867.c in your php-source-tree,
good luck)

BTW: This has absolutely nothing to do with phplib.

regards
messju mohr
 
On Mon, 18 Sep 2000, Joern Muehlencord wrote:
> Hi,
>
> what do I have to do, when I want to disable the max. filesize for
> fileuploads?
> I tried to comment out or to enlarge the statement in php.ini. But after
> a apache restart the max_filesize was still set to 2MB. The best
> solution would be, to disable (or enlarge the value) just for the
> session but an overall solution would work to.
> I am usring PHP 4.0.2 and phplib 7.2c.
>
> Thanks.
>
> Joern
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: PGPEnvelope - http://www.bigfoot.com/~ftobin/resources.html

iD8DBQE5x3cqubKPpFA4n0URApeAAKCMXiLcfYHj3gQrsybGms5x+g47egCdHZBA
gFQnVkp2OzjY7LE15cXZ1tA=
=uYP7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>