Questions tagged as 'codeigniter'

1
answer

Databases in CodeIngniter

I'm starting with CodeIgniter and when I make a simple query to the database, it sends me the error that it is trying to access loclhost and not localhost. I already checked the database configuration and the host name I get localhost. $db[...
asked by 07.07.2018 / 02:58
0
answers

How to reduce the loading time between videos

I'm doing a project in which you have to randomly load several videos and audios and then play back, this does it well and everything, the problem is the moment of load between video. When you finish playing a video this shows the white backgrou...
asked by 08.05.2018 / 00:53
0
answers

Error sending PHP request, C #

I am developing an application in C # that connects to a web service but when I try to send the data via POST I get an error in my application in C #:    System.Net.Http.HttpRequestException: Error sending the request.   --- > System.Net.W...
asked by 09.05.2018 / 15:01
0
answers

Sending emails with Codeigniter

I'm stuck with this, I have the following driver: function prueba_envio_email() { $config = Array( 'protocol' => 'smtp', 'smtp_host' => 'ssl://smtp.googlemail.com', 'smtp_port' => 465, 'smtp_user'...
asked by 04.04.2018 / 19:17
0
answers

Validation of data in Codeigniter

   Controller public function update($id){ $method = $_SERVER['REQUEST_METHOD']; if($method != 'PUT' || $this->uri->segment(3) == '' || is_numeric($this->uri->segment(3)) == FALSE){ json_output(400,array('stat...
asked by 16.03.2018 / 23:53
1
answer

Close Session Automatically

I need to place a timer inside this sweet alert message but where would I have to place it and how? here I have the option to continue navigating in the location.reload () function; but in the isConfirm that a timer of 30 seconds will appear whe...
asked by 13.03.2018 / 18:32
1
answer

How to show the data of a table in codelgniter?

When loading my data in my view, it does not seem like anything to me I leave you my driver public function ver(){ $data = array( 'enlaces' => $this->Usuario_model->verCita() ); $this->load->view('login_vi...
asked by 05.02.2018 / 19:49
0
answers

404 Page Not Found CodeIgniter2 in Host

I'm trying to upload a small application I made to a host ( link ) but for some reason, the only driver I can call in the 'route.php' is the 'welcome' (the one that comes by default $route['default_controller'] = "welcome" ). When I put th...
asked by 12.01.2018 / 16:34
1
answer

form_radio in CodeIgniter does not work

I have a system that is made in Code Igniter 2, I have a form that contains a form_radio that stores the parameter if an employee uses invoice or not, this is the code <div> <label for="factura" class="forma" >Factura de comisi...
asked by 12.01.2018 / 02:34
0
answers

Problems favicon.ico I get two request!

I have tried to find the solution to this problem in several forums, but I do not see anything concrete. I use the framwork Codeigniter PHP (I have the version 2.1.0 of Codeigniter) and every time my application loads a page, for examp...
asked by 19.01.2018 / 17:52