rand(1000,9999)); $client->sendPatternSms($fromNum, $toNum, $user, $pass, $pattern_code, $input_data);