CI - Integrate Multiple Database for each host

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

[login to view URL]

/ Database credentials - Auto added on install /

$db_ini_file_location = dirname(_FILE_).'/[login to view URL]';

$db_ini_data_string = file_get_contents($db_ini_file_location);

$db_ini_data = parse_ini_string($db_ini_data_string);

$filter_host_name = strtolower(preg_replace('/(www\.)/','',$raw_host_name));

$database_settings_default = array('host_name'=>'localhost','username'=>'yourrk9h_pms','password'=>'X5Q6-6%4Sqp)');

$database_settings_default['db_name'] = !empty($db_ini_data[$filter_host_name]) ? $db_ini_data[$filter_host_name] : NULL;

Current status it takes only domain name and database name from [login to view URL]

Required that : [login to view URL] should contain Host name, username and password and must not be fixed value

Content of [login to view URL]

sub.domain.com=databse_name

Linux MySQL PHP Software Architecture Web Hosting

Project ID: #15994389

About the project

10 proposals Remote project Active 6 years ago

10 freelancers are bidding on average ₹26077 for this job

rinsadsl

Hi there I can help you to Integrate with Multiple Databases. Looking forward to working with you. Thanks Rinsad

₹21052 INR in 2 days
(1062 Reviews)
8.8
netsofters

Hello, Greetings, I am having 5+ years of experience in web development in PHP with CodeIgniter & Android Development, You can check my profile for my past freelancing projects. PHP : 5+ years Codeigniter : 5+ More

₹20000 INR in 10 days
(14 Reviews)
4.9
ritwebtech

hi there, I am a lead developer with over 7+ years of experience. Please take a look at my skills: 7 + years experience working in a LAMP production environment Experience developing in MVC frameworks su More

₹27777 INR in 4 days
(10 Reviews)
4.0
Rootingenious

read your post, want to ask few question can you explain more, can you please inbox me so we can discuss better about this thank you i have more than 4 years of experience in php

₹27777 INR in 10 days
(2 Reviews)
1.4