Posted by Greg Donald on 10/21/35 11:13
On 4/13/05, Joseph Connolly <jozef1@gmail.com> wrote:
> I though you could limit it in the php.ini file.
You can.
> OR, you can determine
> it's length through php and then discard it.
You can.
> I remember reading
> something about limiting file size and overidding that limit in the
> script. If i find it i will post it here.
You can, but any settings you put in place will not take effect until
PHP gets the file. PHP has no clue what is going on on the client
side so until the file is uploaded to the server it can't act on the
file one way or the other. PHP is a server-side scripting language
not a client-side scripting language.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
[Back to original message]
|