security_helper.php
This file is part of CodeIgniter 4 framework.
(c) CodeIgniter Foundation admin@codeigniter.com
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Table of Contents
Functions
- sanitize_filename() : string
- Sanitize a filename to use in a URI.
- strip_image_tags() : string
- Strip Image Tags
- encode_php_tags() : string
- Convert PHP tags to entities
Functions
sanitize_filename()
Sanitize a filename to use in a URI.
sanitize_filename(string $filename) : string
Parameters
- $filename : string
Return values
stringstrip_image_tags()
Strip Image Tags
strip_image_tags(string $str) : string
Parameters
- $str : string
Return values
stringencode_php_tags()
Convert PHP tags to entities
encode_php_tags(string $str) : string
Parameters
- $str : string