1、为了方便说明,用firefox的firebug插件模拟get请求,请求头user-date,Authorization自定义添加。
2、步骤一对应php代码,url请求地址,head数组
3、返回结果正确