var_dump(file_get_contents(‘php://input’)); //打印 json 传入数据 $arr = json_decode(file_get_contents(‘php://input’)) //解析成数组 火狐可调试 post /get /put 各种请求的插件工具 restclient
分类: php
js 和 php 用的比较多的时间操作
本文用作笔记记录,方便自己查找 时间戳可以加秒数来增加时间 如加一天为 时间戳+60*60*24 js: php:
var_dump(file_get_contents(‘php://input’)); //打印 json 传入数据 $arr = json_decode(file_get_contents(‘php://input’)) //解析成数组 火狐可调试 post /get /put 各种请求的插件工具 restclient
本文用作笔记记录,方便自己查找 时间戳可以加秒数来增加时间 如加一天为 时间戳+60*60*24 js: php: