thinkphp5 request 信息

object(think\Request)#1 (32) {
  ["method":protected] => string(3) "GET"
  ["domain":protected] => string(17) "http://www.my.com"
  ["url":protected] => string(40) "/tadmin/admin/field/add/model_id/29.html"
  ["baseUrl":protected] => NULL
  ["baseFile":protected] => string(17) "/tadmin/index.php"
  ["root":protected] => string(7) "/tadmin"
  ["pathinfo":protected] => string(32) "admin/field/add/model_id/29.html"
  ["path":protected] => string(27) "admin/field/add/model_id/29"
  ["routeInfo":protected] => array(0) {
  }
  ["dispatch":protected] => array(2) {
    ["type"] => string(6) "module"
    ["module"] => array(3) {
      [0] => string(5) "admin"
      [1] => string(5) "field"
      [2] => string(3) "add"
    }
  }
  ["module":protected] => string(5) "admin"
  ["controller":protected] => string(5) "Field"
  ["action":protected] => string(3) "add"
  ["langset":protected] => string(5) "zh-cn"
  ["param":protected] => array(1) {
    ["model_id"] => string(2) "29"
  }
  ["get":protected] => array(0) {
  }
  ["post":protected] => array(0) {
  }
  ["request":protected] => array(0) {
  }
  ["route":protected] => array(1) {
    ["model_id"] => string(2) "29"
  }
  ["put":protected] => NULL
  ["session":protected] => array(0) {
  }
  ["file":protected] => array(0) {
  }
  ["cookie":protected] => array(0) {
  }
  ["server":protected] => array(40) {
    ["REDIRECT_STATUS"] => string(3) "200"
    ["HTTP_HOST"] => string(10) "www.my.com"
    ["HTTP_CONNECTION"] => string(10) "keep-alive"
    ["HTTP_ACCEPT"] => string(74) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
    ["HTTP_UPGRADE_INSECURE_REQUESTS"] => string(1) "1"
    ["HTTP_USER_AGENT"] => string(110) "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
    ["HTTP_REFERER"] => string(53) "http://www.my.com/tadmin/admin/field/index/id/29.html"
    ["HTTP_ACCEPT_ENCODING"] => string(19) "gzip, deflate, sdch"
    ["HTTP_ACCEPT_LANGUAGE"] => string(14) "zh-CN,zh;q=0.8"
    ["HTTP_COOKIE"] => string(53) "Huiskin=default; PHPSESSID=o2sao6j4a0rp2hqugb960j21p0"
    ["PATH"] => string(212) "C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Git\cmd;"
    ["SystemRoot"] => string(10) "C:\Windows"
    ["COMSPEC"] => string(27) "C:\Windows\system32\cmd.exe"
    ["PATHEXT"] => string(53) ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
    ["WINDIR"] => string(10) "C:\Windows"
    ["SERVER_SIGNATURE"] => string(0) ""
    ["SERVER_SOFTWARE"] => string(47) "Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/5.5.30"
    ["SERVER_NAME"] => string(10) "www.my.com"
    ["SERVER_ADDR"] => string(9) "127.0.0.1"
    ["SERVER_PORT"] => string(2) "80"
    ["REMOTE_ADDR"] => string(9) "127.0.0.1"
    ["DOCUMENT_ROOT"] => string(18) "D:/phpStudy/WWW/my"
    ["REQUEST_SCHEME"] => string(4) "http"
    ["CONTEXT_PREFIX"] => string(0) ""
    ["CONTEXT_DOCUMENT_ROOT"] => string(18) "D:/phpStudy/WWW/my"
    ["SERVER_ADMIN"] => string(18) "admin@phpStudy.net"
    ["SCRIPT_FILENAME"] => string(35) "D:/phpStudy/WWW/my/tadmin/index.php"
    ["REMOTE_PORT"] => string(5) "52334"
    ["REDIRECT_URL"] => string(40) "/tadmin/admin/field/add/model_id/29.html"
    ["GATEWAY_INTERFACE"] => string(7) "CGI/1.1"
    ["SERVER_PROTOCOL"] => string(8) "HTTP/1.1"
    ["REQUEST_METHOD"] => string(3) "GET"
    ["QUERY_STRING"] => string(0) ""
    ["REQUEST_URI"] => string(40) "/tadmin/admin/field/add/model_id/29.html"
    ["SCRIPT_NAME"] => string(17) "/tadmin/index.php"
    ["PATH_INFO"] => string(33) "/admin/field/add/model_id/29.html"
    ["PATH_TRANSLATED"] => string(51) "D:\phpStudy\WWW\my\admin\field\add\model_id\29.html"
    ["PHP_SELF"] => string(50) "/tadmin/index.php/admin/field/add/model_id/29.html"
    ["REQUEST_TIME_FLOAT"] => float(1480667159.716)
    ["REQUEST_TIME"] => int(1480667159)
  }
  ["header":protected] => array(9) {
    ["host"] => string(10) "www.my.com"
    ["connection"] => string(10) "keep-alive"
    ["accept"] => string(74) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
    ["upgrade-insecure-requests"] => string(1) "1"
    ["user-agent"] => string(110) "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
    ["referer"] => string(53) "http://www.my.com/tadmin/admin/field/index/id/29.html"
    ["accept-encoding"] => string(19) "gzip, deflate, sdch"
    ["accept-language"] => string(14) "zh-CN,zh;q=0.8"
    ["cookie"] => string(53) "Huiskin=default; PHPSESSID=o2sao6j4a0rp2hqugb960j21p0"
  }
  ["mimeType":protected] => array(14) {
    ["xml"] => string(42) "application/xml,text/xml,application/x-xml"
    ["json"] => string(62) "application/json,text/x-json,application/jsonrequest,text/json"
    ["js"] => string(63) "text/javascript,application/javascript,application/x-javascript"
    ["css"] => string(8) "text/css"
    ["rss"] => string(19) "application/rss+xml"
    ["yaml"] => string(28) "application/x-yaml,text/yaml"
    ["atom"] => string(20) "application/atom+xml"
    ["pdf"] => string(15) "application/pdf"
    ["text"] => string(10) "text/plain"
    ["png"] => string(9) "image/png"
    ["jpg"] => string(32) "image/jpg,image/jpeg,image/pjpeg"
    ["gif"] => string(9) "image/gif"
    ["csv"] => string(8) "text/csv"
    ["html"] => string(35) "text/html,application/xhtml+xml,*/*"
  }
  ["content":protected] => NULL
  ["filter":protected] => array(3) {
    [0] => string(4) "trim"
    [1] => string(16) "htmlspecialchars"
    [2] => string(10) "strip_tags"
  }
  ["bind":protected] => array(0) {
  }
  ["input":protected] => string(0) ""
  ["cache":protected] => NULL
  ["isCheckCache":protected] => NULL
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值