GRAYBYTE WORDPRESS FILE MANAGER5565

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/public_html/Barga/application/models/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/public_html/Barga/application/models//Base_model.php
<?php
class Base_model extends CI_Model{
	var $table_app_registration = TABLE_APP_REGISTRATIONS;

	public function __construct()
	{
		parent::__construct();
	}
	
	public function getRegisteredDeviceCount($app_user_id, $device_type)
	{
		$this->db->select('*'); 
		$this->db->where(array('app_user_id' => $app_user_id, 'device_type' => $device_type));
		return $this->db->get($this->table_app_registration)->num_rows();
	}

	public function sendSmsByModel($url='') 
	{
		$curl = curl_init();
		curl_setopt_array($curl, array(
		CURLOPT_URL => $url,
		CURLOPT_RETURNTRANSFER => true,
		CURLOPT_ENCODING => '',
		CURLOPT_MAXREDIRS => 10,
		CURLOPT_TIMEOUT => 0,
		CURLOPT_FOLLOWLOCATION => true,
		CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
		CURLOPT_CUSTOMREQUEST => 'GET',
		));
		$response = curl_exec($curl);
		curl_close($curl);
		return $response;
	}
	
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 27 2024 00:19:25
giriqfky / giriqfky
0755
Base_model.php
0.841 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
index.html
0.128 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF