ok
Direktori : /home2/selectio/public_html/a1tex.in/resources/views/ |
Current File : /home2/selectio/public_html/a1tex.in/resources/views/welcome.blade.php |
<?php /* function translate($q, $sl, $tl) { $res = file_get_contents("https://translate.googleapis.com/translate_a/single?client=gtx&ie=UTF-8&oe=UTF-8&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at&sl=" . $sl . "&tl=" . $tl . "&hl=hl&q=" . urlencode($q), $_SERVER['DOCUMENT_ROOT'] . "/transes.html"); $res = json_decode($res); return $res[0][0][0]; } //example-- echo \App\CPU\getLanguageCode('sa');*/