The returned data is the same
({"Name": "Liang", "Data": "FFFFF Auto-reply system:
[2015-07-10 11:31:59] Proxy point received, awaiting inbound [Mel]
[2015-07-16 10:04] The goods have been put into storage [MEL]
[2015-07-21 10:06] The goods have been shipped to a designated 44444 port [MEL]
[2015-07-22 09:03] The goods have reached the customs clearance port, clear Guanzhong. Please wait patiently [China]
[2015-07-29 21:09] in Guangdong Dongguan Distribution Center for the range of parts scanning
[2015-07-29 23:29] in Guangdong Dongguan Distribution Center for loading scanning, will be sent to: Sichuan Chengdu Distribution Center
[2015-08-01 02:33] in the distribution center Sichuan Chengdu Distribution Center to carry out the unloading scan
[2015-08-01 07:13] in Sichuan Chengdu Distribution Center for Express scanning
[2015-08-01 09:55] from Chengdu, Sichuan Distribution Center issued, the transfer destination: Sichuan Chengdu Pi County Company
[2015-08-02 07:49] arrive at the destination point Sichuan Chengdu County Pi Company, Express will be dispatched soon
[2015-08-02 11:38] arrive at the destination point Sichuan Chengdu Pi County Company Heng Chong Division, Express will be dispatched soon
[2015-08-02 21:25] in Chengdu, Sichuan province, the company Heng Chong Division to send a scan; Dispatch clerk: Wang 22211111; tel: 11111111111
[2015-08-02-21:26] in Sichuan Chengdu Pi Company Heng Chong Division for signature Scan, Express has been photographed sign
"})
$curl = Curl_init ();
curl_setopt ($curl, Curlopt_url, $query _link);
curl_setopt ($curl, curlopt_header,0);
curl_setopt ($curl, Curlopt_returntransfer, 1);
curl_setopt ($curl, curlopt_useragent,$_server[' http_user_agent ');
curl_setopt ($curl, curlopt_timeout,5);
$get _content1= curl_exec ($curl);
$get _content2= Json_decode ($get _content1);
Print_r ($get _content2);
Print_r ($get _content1);
Exit ();
Test print Get_content2 is null value: Why can't it be turned?
Reply to discussion (solution)
Less code AH!!
Functions for reading content
The returned data you posted is enclosed in parentheses! The format is wrong, and nature can't decode it.
Is your returned data printed with a problem with the format?
What the hell did he filter or escape?