propably divieto di google, prova questa soluzione
1. creare un file googletest.php con questo codice:
PHP Code:
<?php
echo "Starting translation test<br/>\n";
$connection = curl_init();
curl_setopt($connection, CURLOPT_URL, 'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&format=html&langpair=en|pl&q=welcome');
curl_setopt($connection, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)');
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
$time = microtime(true) * 1000;
$result = curl_exec($connection);
$time = microtime(true) * 1000 - $time;
echo 'Test result: '.$result."<br/>\n";
echo 'Test error: '.curl_error($connection)."<br/>\n";
curl_close($connection);
echo 'Connection time (ms): '.$time;
?>
2. inviare il file googletest.php sul server nella cartella radice del forum
3. eseguire windowsz.net / root_folder / googletest.php
qui si ha una soluzione completa:
http://www.vbenterprisetranslator.co...html#post1729\