EasyXLS

DataValidator.inc

<?php
$DATAVALIDATOR_VALIDATE_ANY_VALUE = 0;
$DATAVALIDATOR_VALIDATE_WHOLE_NUMBER = 1;
$DATAVALIDATOR_VALIDATE_DECIMAL = 2;
$DATAVALIDATOR_VALIDATE_LIST = 3;
$DATAVALIDATOR_VALIDATE_DATE = 4;
$DATAVALIDATOR_VALIDATE_TIME = 5;
$DATAVALIDATOR_VALIDATE_TEXT_LENGTH = 6;
$DATAVALIDATOR_VALIDATE_CUSTOM = 7;
$DATAVALIDATOR_OPERATOR_BETWEEN = 0;
$DATAVALIDATOR_OPERATOR_NOT_BETWEEN = 1;
$DATAVALIDATOR_OPERATOR_EQUAL_TO = 2;
$DATAVALIDATOR_OPERATOR_NOT_EQUAL_TO = 3;
$DATAVALIDATOR_OPERATOR_GREATER_THAN = 4;
$DATAVALIDATOR_OPERATOR_LESS_THAN = 5;
$DATAVALIDATOR_OPERATOR_GREATER_THAN_OR_EQUAL_TO = 6;
$DATAVALIDATOR_OPERATOR_LESS_THAN_OR_EQUAL_TO = 7;
$DATAVALIDATOR_ERROR_STOP = 0;
$DATAVALIDATOR_ERROR_WARNING = 1;
$DATAVALIDATOR_ERROR_INFO = 2;
?>

EasyXLS Excel components:

.NET
Excel Library for PHP
full COM+ version to import, export or convert Excel files
Excel Writer for PHP
COM+ version to create and export Excel files
Download EasyXLS™ Excel Component for PHP

File formats:

Office 365
MS Excel 2021 - 2024
MS Excel 2007 - 2019
MS Excel 97 - 2003
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT