随笔分类 -  PHP

摘要:header('Content-type: appliction/json; charset=shift-JIS'); // error //{ // "result": false, // "message": "longin", // "nextUrl": "http://xxxxx/login/" // } $data =array(); class Test { pub... 阅读全文
posted @ 2016-04-13 17:57 roseforyou 阅读(421) 评论(0) 推荐(0)
摘要:userid = urlencode("user".strval($x)); $test->cmt = urlencode("あああああああああああああ".strval($x)); $data[] =$test; } echo "{".'"result": true, "entrylist"'.":".urldecode(json_encode($data))."}"; ?> ... 阅读全文
posted @ 2016-04-13 17:56 roseforyou 阅读(956) 评论(0) 推荐(0)