Q:

ok I've made a plain api of google translate

I just need a way to use it in php it uses url params here is what I mean
<?php
$url = "http://raizen.tk/translate/?lang=".$_POST['lang']."&term=".$_POST['term'].;
$html = iconv("gb2312","utf-8",$html);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_ENCODING, "utf-8" );
$e = curl_exec($ch);
echo $e;
curl_close($ch);
?>

my vps does not show php errors so i do not know why it wont work when i add the  html can anyone help if you can then I would be so happy and that would mean google api would be free again :)

A:

$url = "http://raizen.tk/translate/?lang=".$_POST['lang']."&term=".$_POST['term'].;

has an extra . at the end of the line before the semicolon. Try this:
$url = "http://raizen.tk/translate/?lang=".$_POST['lang']."&term=".$_POST['term'];

