fatal_error()
fatal_error( $error, $line, $file, boolean $maintenance = false)
FATAL error function
Breaks on critical exception and notify admin via mail
Parameters
| $error | ||
| $line | ||
| $file | ||
| boolean | $maintenance |
Class lib
mail( $to, $subject, $message, $from_name, $from_mail, string $headers_in = "", string $params = "", string $content_type = "text/plain", string $priority = "1", string $sensitivity = "Normal") : boolean
Send mail
| $to | ||
| $subject | ||
| $message | ||
| $from_name | ||
| $from_mail | ||
| string | $headers_in | |
| string | $params | |
| string | $content_type | |
| string | $priority | |
| string | $sensitivity |
checkmail( $email, boolean $dns_check = true) : boolean
Check mail address
Validates if email is an valid e-mail address.
If DNS check is enabled: Check DNS records corresponding to a given Internet host name. Searches DNS for records of type type corresponding to host.
| boolean | $dns_check |
input_check( $input, boolean $minlength = false, boolean $maxlength = false, boolean $regex = false, boolean $case_sensitive = false) : boolean|false|integer
Input check
Validate input to match a given minlength, maxlength and pattern
| $input | ||
| boolean | $minlength | |
| boolean | $maxlength | |
| boolean | $regex | |
| boolean | $case_sensitive |