| // +----------------------------------------------------------------------+ // // $Id: UPLOAD_ERR.php,v 1.1 2005/07/23 05:56:02 Tony Exp $ /** * Replace upload error constants * * @category PHP * @package PHP_Compat * @link http://php.net/features.file-upload.errors * @author Aidan Lister * @version $Revision: 1.1 $ * @since PHP 4.3.0 */ if (!defined('UPLOAD_ERR_OK')) { define('UPLOAD_ERR_OK', 0); } if (!defined('UPLOAD_ERR_INI_SIZE')) { define('UPLOAD_ERR_INI_SIZE', 1); } if (!defined('UPLOAD_ERR_FORM_SIZE')) { define('UPLOAD_ERR_FORM_SIZE', 2); } if (!defined('UPLOAD_ERR_PARTIAL')) { define('UPLOAD_ERR_PARTIAL', 3); } if (!defined('UPLOAD_ERR_NO_FILE')) { define('UPLOAD_ERR_NO_FILE', 4); } ?>