<?php
/***************************************************************************
 *                                                                          *
 * Copyright (c) 2005 ISPG Technologies (I) Pvt Ltd. All rights reserved.   *
 *                                                                          *
 * This  is  commercial  software,  only  users  who have purchased a valid *
 * license  and  accept  to the terms of the  License Agreement can install *
 * and use this program.                                                    *
 *                                                                          *
 ****************************************************************************
 * PLEASE READ THE FULL TEXT  OF THE SOFTWARE  LICENSE   AGREEMENT  IN  THE *
 * "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE.            *
 ****************************************************************************/
//
//$Id: ReferralController.php, v 1.0 2011/06/14 20:52:11
//
class SmsController extends Controller {
   
    public function indexAction() {
        $user_id	= 'leader1';
        $password	= 'Leader1547';
        //$sms = new Sms($user_id, $password);
        // $result	=	$sms->setSms('','');exit;
        /* $userPhone  ="0536650309";
                                if (strpos($userPhone, "05") === 0){
                                 echo $userPhoneFull          = '966'.ltrim($userPhone, '0');	
                                }else{
                                  $userPhoneFull          = '91'.$userPhone;	
                                }	 */	
        $input = 4.3546;
        if(is_numeric($input)){  // return **TRUE** if it is numeric
            echo "The input is numeric";
        }else{
            echo "The input is not numeric";
        }	
    }
}