thinkphp5获取富文本数据的处理

thinkphp5自带的 input 或者默认的Request::instance()->post() 都是自带过滤

所以用富文本提交的参数会被自动过滤

请使用一下

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

来获取所有的post参数

比如 $content=$all['content']

这样接收的数据可以使用

相关文章:

  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-05
  • 2021-09-14
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案