Search results

  1. A

    PHP debugging

    Please be observant that if you do a comparison like ($error == UPLOAD_ERR_OK) you are NOT on the safe side! Because I executes a loop for all $_FILES entries. But if you only expect one file and you check $_FILE ['something']['error'] == UPLOAD_ERR_OK directly, it will true even if no file was...
Back
Top