|
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]
|