Re: How to Manage File Uploads in PHP?
I would like to tell you that you should note that the MAX_FILE_SIZE hidden field is only used by the PHP script which receives the request, as an instruction to reject files larger than the given bound. This field has no significance for the browser, it does not provide a client-side check of the file-size, and it has nothing to do with web standards or browser features. Since PHP 4.2.0, PHP returns an appropriate error code in the table file. This error code is available to index [ 'error'] table, which is created during the download, by PHP. In other words, the error is available in the variable $ _FILES [ 'userfile'] [ 'error'].
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks