Overview

Namespaces

  • LucidFrame
    • Console
    • Core
    • File
  • None

Functions

  • _addFormData
  • _addvar
  • _arg
  • _asynFileUploader
  • _autoloadDir
  • _breadcrumb
  • _canonical
  • _cipher
  • _consoleCommand
  • _consoleCommands
  • _consoleTable
  • _cr
  • _css
  • _decrypt
  • _defaultLang
  • _defaultQueryLang
  • _dir
  • _ds
  • _dump
  • _encrypt
  • _fdate
  • _fdatetime
  • _fileHelper
  • _filesize
  • _filterArrayEmpty
  • _fnum
  • _fnumReverse
  • _fnumSmart
  • _fstr
  • _ftimeAgo
  • _g
  • _get
  • _getLang
  • _getLangInURI
  • _getTranslationStrings
  • _h
  • _header
  • _hreflang
  • _image
  • _img
  • _indent
  • _isAjax
  • _isBot
  • _isRewriteRule
  • _js
  • _json
  • _lang
  • _langName
  • _langs
  • _loader
  • _mail
  • _meta
  • _metaSeoTags
  • _middleware
  • _minifyHTML
  • _msg
  • _multilingual
  • _notEmpty
  • _page401
  • _page403
  • _page404
  • _pager
  • _patch
  • _post
  • _postTranslationStrings
  • _pr
  • _protocol
  • _put
  • _queryLang
  • _r
  • _randomCode
  • _redirect
  • _redirect301
  • _requestHeader
  • _requestHeaders
  • _rr
  • _sanitize
  • _script
  • _self
  • _shorten
  • _slug
  • _sqlDate
  • _ssl
  • _t
  • _tc
  • _title
  • _unloader
  • _url
  • _urlLang
  • _validHost
  • _version
  • _view
  • _write
  • _writeln
  • _xss
  • auth_access
  • auth_block
  • auth_blocks
  • auth_clear
  • auth_create
  • auth_get
  • auth_isAnonymous
  • auth_isLoggedIn
  • auth_namespace
  • auth_permissions
  • auth_prerequisite
  • auth_role
  • auth_set
  • cookie_delete
  • cookie_get
  • cookie_set
  • db_and
  • db_avg
  • db_close
  • db_collation
  • db_commit
  • db_connect
  • db_count
  • db_delete
  • db_delete_multi
  • db_engine
  • db_error
  • db_errorNo
  • db_escapeString
  • db_extract
  • db_fetch
  • db_fetchArray
  • db_fetchAssoc
  • db_fetchObject
  • db_fetchResult
  • db_host
  • db_insert
  • db_insertId
  • db_insertSlug
  • db_max
  • db_min
  • db_name
  • db_numRows
  • db_or
  • db_prefix
  • db_prq
  • db_query
  • db_queryStr
  • db_rollback
  • db_select
  • db_setCharset
  • db_sum
  • db_switch
  • db_table
  • db_tableHasSlug
  • db_tableHasTimestamps
  • db_transaction
  • db_update
  • db_user
  • flash_get
  • flash_set
  • form_checked
  • form_htmlValue
  • form_init
  • form_respond
  • form_selected
  • form_set
  • form_token
  • form_validate
  • form_value
  • route
  • route_contain
  • route_equal
  • route_group
  • route_name
  • route_path
  • route_search
  • route_start
  • route_updateQueryStr
  • route_url
  • session_delete
  • session_get
  • session_set
  • validate_alphaNumeric
  • validate_alphaNumericDash
  • validate_alphaNumericSpace
  • validate_between
  • validate_custom
  • validate_date
  • validate_datetime
  • validate_domain
  • validate_email
  • validate_fileExactDimension
  • validate_fileExtension
  • validate_fileMaxDimension
  • validate_fileMaxHeight
  • validate_fileMaxSize
  • validate_fileMaxWidth
  • validate_integer
  • validate_ip
  • validate_mandatory
  • validate_mandatoryAll
  • validate_mandatoryOne
  • validate_max
  • validate_maxLength
  • validate_min
  • validate_minLength
  • validate_naturalNumber
  • validate_notAllowZero
  • validate_numeric
  • validate_numericDash
  • validate_numericSpace
  • validate_positiveRationalNumber
  • validate_rationalNumber
  • validate_time
  • validate_url
  • validate_username
  • validate_wholeNumber
  • validation_addError
  • validation_check
  • validation_get
  • validation_set
  • Overview
  • Namespace
  • Function

Function validate_fileMaxSize

Validation of maximum file upload size

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
Parameters summary
array $value The $_FILES array
integer $maxSize = null The maximum file size in MB
Return value summary
boolean TRUE if the uploaded file does not exceed the given file size, FALSE otherwise
PHPLucidFrame 2.2 API documentation generated by ApiGen