behzad900 / micrsoft-translator-php-wrapper

Automatically exported from code.google.com/p/micrsoft-translator-php-wrapper
0 stars 0 forks source link

unable to translate in webhosting #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
thanks for your translator, I tried on my local it works fine However when I 
upload the same code to the webhosting it cannot allow me to translate is there 
anyway that i can make it work on webhosting?

in my local
localhost/translate/translator.php?text=apple&to=zh-CHS

result:
{"status":"SUCCESS","translation":"\u82f9\u679c<\/string>"}

in my web host
xxx/translate/translator.php?text=apple&to=zh-CHS

result:{"status":"SUCCESS","translation":"The authorization type you provided 
is not supported. Only Basic and OAuth are supported\r\n"}

both account key are the same as well.

Original issue reported on code.google.com by vincent...@gmail.com on 8 Mar 2013 at 6:47