André Medeiros wrote:
On Tue, 2005-07-12 at 12:38 -0400, John Nichel wrote:
Sebastian wrote:
<snip>
it doesnt seem to work on IE or Firefox.. two of the most popular
browsers..
this shoudn't even be in the manual then because if it doesnt work for
these two browsers then i would consider it pointless to use.
</snip>
It may not be your browser that it's not working with...it may be your
system's security settings, or your firewall (if you're behind one) not
allowing the information thru.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
Sure, it could be that. But, in this sittuation, the error says that the
file is too big. Even it the firewall didn't let the file go through
(wich I doubt, because a firewall won't parse HTTP requests and make
those checks, unless you have a request max size or something), you'd
just get an error page saying that the request didn't go through.
DO NOT trust the browsers to do something. If all of them complied 100%
to standards, we would live in a (almost) perfect world :)
I'm experiencing this problem as well.
The manual seems to imply that using MAX_FILE_SIZE will enable the
browser to recognize the fact that a user is trying to upload a file
that is too large and will, therefore, be able to give the user a
warning to prevent the uploading of a file that the server will not accept.
I've found no evidence of this anywhere. A rather extensive websearch on
the subject revealed a multiude of people just rehashing what it says
in the manual, nothing original. I couldn't find documentation in any
browser that said there was any way for the browser to do this.
I did find some people saying that 'it worked' with no further
elaboration, but the pessimist in me is saying that it didn't work from
the client-side at all, just the server side, and they didn't realize it.
So, to sum up, The manual seems to imply that it can, under some
circumstances, work client-side, but I've found no other information to
support that it has worked on any browser, anywhere at anytime. I am
still looking for a client-side solution and haven't completely
discounted this yet.
By the way, I have no delusions that a client-side solution is secure,
I'm handling the security server-side. I just don't want the user to
have to upload 375 MB file over a dial-up connection, jsut to find out
that the server won't accept anything larger than 350 MB.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php