propably draudimas nuo Google, pabandykite šį tirpalą
1. googletest.php failą šį kodą:
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. Siųsti šį googletest.php failą į savo serverio į Jūsų forumo šakninis aplankas
3. paleisti windowsz.net / root_folder / googletest.php
Čia jūs turite visą tirpalą:
http://www.vbenterprisetranslator.co...html # post1729 \\