Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Codeigniter 3.1.4请求后未接收表单数据参数_Php_Codeigniter - Fatal编程技术网

Php Codeigniter 3.1.4请求后未接收表单数据参数

Php Codeigniter 3.1.4请求后未接收表单数据参数,php,codeigniter,Php,Codeigniter,$\u POST返回空值 GET打印请求参数 但不打印返回为空的POST参数 它在6个月前就能工作。 使用(CI中的探查器): 检查php.ini文件并注释掉以下行enable\u post\u data\u reading=Off 或者将其设置为启用 在configfile.base\u url变量中更改为http至https 范例 $config['base_url']=“https://example.com/” 确保您的表单是以前的mysql版本(6个月前使用的版本)和当前版本是

$\u POST
返回空值

GET
打印请求参数

但不打印返回为空的
POST
参数

它在6个月前就能工作。

  • 使用(CI中的探查器):

  • 检查php.ini文件并注释掉以下行
    enable\u post\u data\u reading=Off
    或者将其设置为启用

在configfile.base\u url变量中更改为http至https

范例


$config['base_url']=“https://example.com/”

确保您的表单是
以前的mysql版本(6个月前使用的版本)和当前版本是什么?完成。在config file.base\u url变量中更改为http到https。
;enable_post_data_reading = Off