M
M
Mark2020-05-21 19:23:23
PHP
Mark, 2020-05-21 19:23:23

How to filter PHP leaving only HTML?

A function is needed to add your code to the head, and to the end of the body on the service, so that the user can insert his arbitrary HTML code (often: metrics, meta tags for verification).

How can you filter out PHP code, leaving only HTML code, in order to secure the application?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2020-05-21
@MarkLb

Search <?.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question