Questions tagged as 'codeigniter'

0
answers

| htaccess | Codeigniter select language |

I use codeigniter as a framework, it is not a web page created by me, what I would like to know, is if it is possible to redirect a person to your language when you enter the website. The issue is that to change the language, the website uses...
asked by 08.12.2017 / 13:55
1
answer

Login with different users

Hello stack overflow partners. I have the following Login with 3 types of users. It happens that when entering the login controller. It stays blank and I do not know what else happens. It worked without having to use the switch an...
asked by 07.12.2017 / 22:33
0
answers

Block download PDF in Codeigniter

I am working on a project with Codeigniter version 2.2.6, and I have to show a PDF on the web, this I already did in the following way <embed src"ejemplo.pdf#toolbar=0" type="application/pdf" width="100%" height="500px"> The problem i...
asked by 15.12.2017 / 18:28
2
answers

Pass several variables from various controller types to codeigniter view

Good afternoon, I generate the following query to the database to bring a list with the id and the name of a product function getActivos(){ // armamos la consulta $query = $this->db ->select("*")...
asked by 12.11.2017 / 07:46
2
answers

Users access sessions of other users

Good evening, I tell you my problem. I have an app developed in PHP with Codeigniter running on a web hosting in Wiroos. Everything was working correctly, but as time passed, the application was having more users who access simultaneously (obvio...
asked by 10.11.2017 / 03:21
0
answers

Problems with external js in codeigniter

I'm starting to develop with codeigniter. Inside the view I wrote one and it works perfectly. Then, I decide to cut and paste the script to an external file and then include it in the view and I get an error in one of the functions. This is m...
asked by 04.11.2017 / 02:05
0
answers

problem calling the variable session in codeigneter

this is in the controller <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Principal extends CI_Controller { public function __construct(){ parent::__construct(); $this->loa...
asked by 06.11.2017 / 14:44
0
answers

Why is the default driver path not working?

I'm doing a project with CodeIgniter. When a user visits my page, I wish that by entering the address (in this case I am testing it on the localhost) of the site, access the home.php page. I understand that to achieve this, the path $route...
asked by 26.10.2017 / 16:55
1
answer

Pass data to the Controller and Open new Window in Codeigniter [Not working]

[EDITED] I am trying to pass the entered value of two fields, date_ini and date_ter, I believe that the data is sent since the success is now executed, that is, a new tab that would be > C_Porce_PDF . However, when loading it, it shows me...
asked by 16.10.2017 / 15:09
1
answer

Registration method is not done PHP

I hope someone can help me with the following detail. First of all put the code. It happens that, once I click on save, it does not mark me an error, but rather that the browser stays in the controller -register- and does not do more. I do not k...
asked by 10.10.2017 / 22:34