Advance Practical PHP | SQL (Insert, Update, Delete) - video
HTML-код
- Опубликовано: 8 окт 2024
- In this video we will talk about several command that will help with trimming data. We will use the ‘preg_replace’ to replace any script or styles sent through the form with a space. This protect against an injection attack.
The “strip_tags()” function strips away any HTML, XML, and PHP tags.
The “htmlentities()” function converts characters to HTML entities. The “preg_match" function matches a pattern.
I am using “preg_replace” to replace any script or styles sent through the form with a space. This protect against an injection attack.
The “strip_tags()” function strips away any HTML, XML, and PHP tags.
Visit: convertowordpress.com