Function validate_fileMaxWidth
Validation of image file upload for max width only
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/validation_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/validation_helper.php
array |
$value |
The $_FILES array |
integer |
$maxWidth |
The maximum image width in pixels |
boolean
|
TRUE if the uploaded image does not exceed the maximum width allowed; FALSE otherwise |