2015-07-13 73 views

回答

1

那是一個JSON字符串

$content = file_get_contents([...]); 
$arr = json_decode($content); 

echo $arr->access_token; 
+0

感謝它的工作原理:) –

2

JSON的操作,你應該使用json_decode

$str= file_get_contents(some.txt); 
$array = json_decode($content); 
echo $array->access_token; 
+0

謝謝你:) –

相關問題