php中PHP 的 $_POST、$HTTP_RAW_POST_DATA 和 php://input有什么不同
Jun 08, 2016 pm 05:19 PM$_POST、$HTTP_RAW_POST_DATA 和 php://input都可以接受数据了,那么它们三者的区别到底在哪里呢,我们来看来看这篇文章是如何介绍的。
Mac Pro 电脑编译安装了 PHP 5.6.21,先前的系统运行时报如下警告级错误:
Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead.
意思是 自动变量 $HTTP_RAW_POST_DATA 已过时,将来会被移除,使用 php://input 流方式代替!
总结:区别 PHP 的 $_POST、$HTTP_RAW_POST_DATA 和 php://input
1、HTML

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How To Set Up Visual Studio Code (VS Code) for PHP Development
