You are here: Re: [PHP] uploading file « PHP « IT news, forums, messages
Re: [PHP] uploading file

Posted by Greg Donald on 10/19/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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация