I have a function to translate the current text string using the Free Bing translator API. I just want to make sure if anything fails or something happens with the Applicat
$translate_feed = file_get_contents('http://api.microsofttranslator.com/v2/Http.svc/Translate?appId=' . BING_APPID . '&text=' . urlencode($text) . '&from=en&to=' . $to_lan . ''); if ( $translate_feed === false ) { echo "failed"; }