Example #1
0
        $total_return = "Thank you for using Tweet a card service. Your card has been sent to {$gcmsg}.\nImage: {$gclink} ";
        //        $total_return .= "Browsing charges(10p/10kB) apply.";
        //        $total_return .= "\n--\nDial *321*552# (Tollfree) to send customized cards to your loved ones!";
        //$total_return = $total_return . "\n--\nTo send your Friend a customised greeting card, Sms GC <your name> TO <friends name> to $shortcode @ Rs. 3.";
        $service_name = 'tc';
        $product_name_tag = 'Tweet a Card';
        $to_logserver['source'] = 'tc';
        putOutput($total_return);
        exit;
    }
} elseif (preg_match("~^(bp)\\b~", $req)) {
    if ($number != '7709087556') {
        echo "<br>TWEET CARD WITH NAME<br>";
        $u_name = preg_replace("~^(bp)\\b~", '', $req);
        $u_name = remwords($u_name);
        $u_name = SafeSearch($u_name);
        $u_name = trim(preg_replace("~[\\s]+~", " ", $u_name));
        $w_count = str_word_count($u_name);
        if ($w_count > 0 && $w_count < 4 && strlen($u_name) < 20) {
            $gcfrom = (string) ucfirst($u_name);
            $gcto = 'Dear Bipasha';
            $gcmsg = 'Bipasha Basu';
            echo "<br>From:";
            var_dump($gcfrom);
            echo "<br>To:";
            var_dump($gcto);
            echo "<br>Inside TC result";
            $uniq_id = uniqid();
            mysql_close();
            include 'lib/configdb_up.php';
            $gcgroup = 32;
Example #2
0
    if ($debug) {
        ob_end_flush();
    } else {
        ob_end_clean();
    }
    exit;
} else {
    if ($req == "more options") {
        include 'moreoptions.php';
    }
}
$source_machine = $machine_id;
$list = array();
$lists = array();
$options_list = array();
$safe_search_query = SafeSearch($query_alphabets);
echo "<br>Query alpha: {$query_alphabets}";
echo "<br>safe alpha: {$query_alphabets}";
echo "<br>Is adult: {$is_adult}";
if ($safe_search_query != $query_alphabets) {
    $is_adult = true;
}
echo "<br>Is adult: {$is_adult}";
include 'common_before.php';
switch ($user_country) {
    case 'india':
        include 'match_india.php';
        break;
    case 'dubai':
        include 'match_dubai.php';
        break;