我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

代码点火器中是否有类似$ _REQUEST的预定义变量?

The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms.

Is there a way in code igniter to access GET and POST both data through one predefined variable or function

You can use

$this->input->post_get('some_data', TRUE);

This will work like $_REQUEST.More function are there like cookie,server.

For more information check here

近期文章

  • 将单独的REST路由从PHP迁移到Node.js / Golang /等等
  • 如何从php数组中提取值
  • 使用Amazon EC2,我仍然可以使用Rest.inc.php(REST API),还是有不同的方法?
  • php查询,一次只能工作一次
  • 在php中相同的时间戳下降条件
  • 无法通过数组值访问对象属性
  • 如何通过PHP连接和发送消息给skype bot?
  • PHP如何访问多维数组
  • 如何在特定时间后运行代码
  • PHP正则表达式 - 如何提取所有出现的模式
  • 检索ajax函数内的每个Php循环变量
  • PhpMailer用于多个电子邮件地址
  • 上传图片后如何移动按钮?
  • 网站(HTML / PHP)可能链接到GraphDB?
  • 将变量连接到PHP中的链接
  • 检查多维数组中的所有数组是否满足特定条件
  • 如何从mysql计数多个值作为html和php中的一列
  • 我如何拒绝直接访问目录,但允许从PHP脚本中进行访问?
  • PHP登录界面
  • 如何在PDO中获取行?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华