Файловый менеджер - Редактировать - /home/lmsyaran/public_html/j3/plugins/ejra/reservationsendverificationcodesms/reservationsendverificationcodesms.php
Назад
<?php /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.36 @build 28th March, 2023 @created 17th December, 2020 @package Reservation @subpackage reservationsendverificationcodesms.php @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); /***[JCBGUI.class_extends.head.5.$$$$]***/ jimport( 'joomla.plugin.plugin' );/***[/JCBGUI$$$$]***/ class PlgEjraReservationsendverificationcodesms extends JEvent { /***[JCBGUI.joomla_plugin.main_class_code.64.$$$$]***/ public function onAfterMobileValidate($phoneNumber, $verify) { $smsService_from = "+983000505"; $smsService_username = "mojtabamojtaba"; $smsService_password = "u7zcqps7Ha"; $smsService_pattern_code = "8pgxzx04zjbf7n0"; $smsService_input_data = array( "name" => $verify ); $persian = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹']; $num = range(0, 9); $phoneNumber = str_replace($persian, $num, $phoneNumber); $smsService_to = array($phoneNumber); $client = new SoapClient("http://panel.smsema.com/class/sms/wsdlservice/server.php?wsdl"); $smsService_response = $client->sendPatternSms($smsService_from, $smsService_to, $smsService_username, $smsService_password, $smsService_pattern_code, $smsService_input_data); return $smsService_response; }/***[/JCBGUI$$$$]***/ }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.07 |
proxy
|
phpinfo
|
Настройка