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

Posted by John Nichel on 10/18/10 11:13

Joseph Connolly wrote:
> I though you could limit it in the php.ini file. OR, you can determine
> it's length through php and then discard it. 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 limit it with PHP. However, for php to determine the filesize
and check it against the limit, the file has to be uploaded first, ie on
the server. The OP wants to check the filesize while it's still on the
client machine, and PHP can't do that.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.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

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