You are here: Re: check MAX_FILE_SIZE « PHP Programming Language « IT news, forums, messages
Re: check MAX_FILE_SIZE

Posted by Good Man on 10/09/07 20:10

Mike <ampeloso@gmail.com> wrote in news:1191959924.975852.149570
@v3g2000hsg.googlegroups.com:

> Hello,
> I have a page that uploads a file. It has a form and uses SELF to
> process the file the second time around.
> I have MAX_FILE_SIZE set. The problem is, if the file is too big I
> cant check $FILE['xx'][size] until it comes back.Which could be a
> while.(which the server sets to 0).
> I want to check it with javascript if possible.
> If I try to upload a 20 gig file the customer wont know its too big
> for hours.
> Help
> and Thanks

how would you know the file size if it's not on the server yet?

to answer your javascript question in this non-javascript group, the answer
is no, you cannot do it via javascript either.

you could build a Flash file-uploader a-la Flickr
(http://www.flickr.com/photos/upload/) ... that might be the only way to do
what you want.

 

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

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