Ahmed Saad wrote:

hi Sebastain,

On 7/12/05, Sebastian <[EMAIL PROTECTED]> wrote:
yet it waits for file to upload before error.
I've been using php for serveral years and i cant remember ever getting
this to work like the manual states.

Quoting the *php manual*

"The MAX_FILE_SIZE hidden field (measured in bytes) must precede the
file input field, and its value is the maximum filesize accepted.
(((This is an advisory to the browser))), PHP also checks it. Fooling
this setting on the browser side is quite easy, so never rely on files
with a greater size being blocked by this feature. The PHP settings
for maximum-size, however, cannot be fooled. This form element should
always be used as it saves users the trouble of waiting for a big file
being transferred only to find that it was too big and the transfer
failed."

In a nut-shell, it's just a hint to the "browser" that may or may NOT
consider it.

-ahmed
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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to