Ребят помогите с расщифровкой ошибок

[Удален]
1003

Не могу найти расшифровку ошибок php при загрузки файлов, нашел только это к сожалению, но там старые и всего до 4, а у меня

Array ( [name] => 01_ 00.avi [type] => [tmp_name] => [error] => 7 => 0 )

KosoyRoman добавил 25.01.2009 в 18:20

Всем спасибо, нашел

dkameleon
На сайте с 09.12.2005
Offline
386
#1

Since PHP 4.2.0, PHP returns an appropriate error code along with the file array. The error code can be found in the error segment of the file array that is created during the file upload by PHP. In other words, the error might be found in $_FILES['userfile']['error']. 

UPLOAD_ERR_OK
Value: 0; There is no error, the file uploaded with success.

UPLOAD_ERR_INI_SIZE
Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.

UPLOAD_ERR_FORM_SIZE
Value: 2; The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.

UPLOAD_ERR_PARTIAL
Value: 3; The uploaded file was only partially uploaded.

UPLOAD_ERR_NO_FILE
Value: 4; No file was uploaded.

UPLOAD_ERR_NO_TMP_DIR
Value: 6; Missing a temporary folder. Introduced in PHP 4.3.10 and PHP 5.0.3.

UPLOAD_ERR_CANT_WRITE
Value: 7; Failed to write file to disk. Introduced in PHP 5.1.0.

UPLOAD_ERR_EXTENSION
Value: 8; File upload stopped by extension. Introduced in PHP 5.2.0.

http://ua.php.net/manual/en/features.file-upload.errors.php

Дизайн интерьера (http://balabukha.com/)
[Удален]
#2

dkameleon спасибо )) но нашел уже

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий