PHP 8.5.0 Alpha 1 available for testing

Voting

: min(zero, one)?
(Example: nine)

The Note You're Voting On

eslindsey at gmail dot com
16 years ago
Also note that since MAX_FILE_SIZE hidden field is supplied by the browser doing the submitting, it is easily overridden from the clients' side. You should always perform your own examination and error checking of the file after it reaches you, instead of relying on information submitted by the client. This includes checks for file size (always check the length of the actual data versus the reported file size) as well as file type (the MIME type submitted by the browser can be inaccurate at best, and intentionally set to an incorrect value at worst).

<< Back to user notes page

To Top