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

Posted by Joseph Connolly on 10/02/62 11:13

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.


Richard Davey wrote:

>Hello Marc,
>
>Wednesday, April 13, 2005, 3:08:06 PM, you wrote:
>
>ms> Hi, i want to create a form to upload a file on a server. My
>ms> problem is that i want to check the filesize before sending it
>ms> because if the filesize is superior than 2 MB it failed and i
>ms> don't want to wait for a long time for uploading a file that will
>ms> fail.
>
>This isn't possible with PHP alone. You could do it by using some kind
>of client-side uploader (Java applet, maybe a JavaScript post-back,
>etc), but not PHP by itself.
>
>Best regards,
>
>Richard Davey
>
>

 

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

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