PHP输入流php://input介绍

PHP输入流php://input介绍

  • “php://input allows you to read raw POST data. It is a less memory intensive alternative to $HTTP_RAW_POST_DATA and does not need any special php.ini directives. php://input is not available with enctype=”multipart/form-data”.
  • 翻译过来,是这样:
    “php://input可以读取没有处理过的POST数据。相较于$HTTP_RAW_POST_DATA而言,它给内存带来的压力较小,并且不需要特殊的php.ini设置。php://input不能用于enctype=multipart/form-data”

相关链接

posted @ 2021-01-10 17:43  绝技小嗨皮  阅读(601)  评论(0编辑  收藏  举报
Title