Introduction: This is a detailed page for error explanation in PHP $ _ file. It introduces PHP, PHP, upload, $ _ file, knowledge, skills, experience, and some PHP Source Code related to error interpretation in error PHP $ _ file.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 360994 'rolling = 'no'>
When uploading files with PHP, we will useProgramListen to the file information sent by the browser. First, the status of the file to be uploaded is determined by the different values of $ _ FILES [fieldname] ['error. $ _ FILES [fieldname] ['error'] = 0 indicates that everything is normal. For more information about other values, see the comments of the following program!
Switch ($ _ FILES [$ field] ['error']) {Case 1: // the file size exceeds the server space break; Case 2: // The size of the file to be uploaded exceeds the browser limit $ this-> seterror ("the file is too large (form ). "); break; Case 3: // The file is only partially uploaded $ this-> seterror (" the file was only partially uploaded. "); break; Case 4: // The file break to be uploaded is not found; Case 5: // break is lost in the temporary folder on the server; Case 6: // break error occurred when writing the file to the Temporary Folder ;}
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/360994.html pageno: 1.