Home > Backend Development > PHP Tutorial > PHP 过滤HTML跟图片

PHP 过滤HTML跟图片

WBOY
Release: 2016-06-13 12:45:14
Original
899 people have browsed it

PHP 过滤HTML和图片
echo $txt;
?>

例如输出内容:

 您好,这里是测试内容、 

 

  PHP 过滤HTML跟图片  




如以上,输出的是HTML代码。

我想过滤HTML和图片,只留下纯文本。

什么写?求大神。
HTML PHP
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template