From: Chris Date: Wed, 2 Apr 2014 10:32:10 +0000 (+0800) Subject: GoogleTranslate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7bcbb16c7423f0e116acf8031bbf1a5a6585589a GoogleTranslate.php --- diff --git a/GoogleTranslate.php b/GoogleTranslate.php index d7ec4333..a99d9afa 100644 --- a/GoogleTranslate.php +++ b/GoogleTranslate.php @@ -47,7 +47,10 @@ class Pman_Core_GoogleTranslate extends Pman curl_setopt($handle, CURLOPT_POSTFIELDS, http_build_query($param)); curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); - $response = curl_exec($handle); + $response = curl_exec($handle); + + print_r($response); + $responseDecoded = json_decode($response, true); curl_close($handle);