0) { $check_url .= "&limit=".$limit; } $handle = fopen($check_url, "r"); if ($handle !== FALSE) { $result_message = fgets($handle, 255); $result_code = ($result_message == "true"); fclose($handle); } else { $result_message = "server_busy"; } } if (!$result_code) { readfile(($result_message == "server_busy") ? 'http://iface.smszamok.ru/client/sorry.php?lng='.$language.'&enc='.$encoding : 'http://iface.smszamok.ru/client/'.$language.'.iface.'.$encoding.'.php?pid='.$project_id.'&message='.$result_message.'&ls='.($lang_switcher?'1':'0')); // халявы нема die(); } ?>