thinkphp5 get rich text data processing

thinkphp5 get rich text data processing

thinkphp5's own input or the default Request :: instance ()-> post () are both built-in filters

So parameters submitted with rich text will be automatically filtered

Please use

$all=Request::instance()->post(false);

To get all the post parameters

For example $ content = $ all ['content']

The data received in this way can be used

Guess you like

Origin www.cnblogs.com/baker95935/p/12692843.html
Recommended