Questions tagged as 'codeigniter-3'

2
answers

generate id session / cookie secure php

I'm setting up a login system for my projects. So far I understand that if you usually use sessions, preferably. article says that it is a good practice to use session ids that are at least 128 bits in size and with 64 bits of entropy, to m...
asked by 12.10.2017 / 02:01
2
answers

Check if a user registered at the bank has cpf already registered

Hello, I have to check in the database if a logged in user already has cpf registered and return whether it is false or not. I use the codeigniter in the application. I'll send the codes. CONTROLLER: public function check_cpf_doctor() { $c...
asked by 01.12.2018 / 23:28
1
answer

How to pass to the AJAX select option for codeigniter view?

I intend to use a combobox as a filter padding data for another combobox code: Controller: function Ajax_consulta_zona() { $edificio = $this->input->post('edificio'); $bastidor = $this->input->p...
asked by 17.10.2018 / 12:19
1
answer

How to get data from an array without using the Index

I am trying to get data through an API (bet365) it returns this data in JSON, I have created a function to extract this data and transform into array The following function:        public function api_footer () { $url = "https://api.betsap...
asked by 30.11.2018 / 00:29
1
answer

The requested file could not be loaded: products / list_table.php

I'm trying to display a view data coming from the database, when I tried to run the following message appeared: Um erro encontrado Não foi possível carregar o arquivo solicitado: produtos / lista_tabela.php products = name of m...
asked by 04.10.2018 / 22:13
1
answer

MVC CodeIgniter

I have a question regarding the passing of parameters between MVC. I'm developing email confirmation on a project. After clicking on the link to confirm sent by email, the system picks up by GET, the encrypted password and "I want to change t...
asked by 31.08.2018 / 21:20
2
answers

Generate multiple records in MySQL

In MySQL I have two tables: CLIENTS | codigo-cliente | nome | grupo | valor | |----------------|------|-------|-------| FINANCIAL | codigo-cliente | codigo-boleto | grupo | valor | |----------------|---------------|-------|-------|...
asked by 02.03.2018 / 04:16
1
answer

CSS and JS does not load on mobile, via localhost

Good morning! I'm doing a small site using Codeigniter 3 and Bootstrap 3 . On PC, CSS and JS work perfectly well, but when I try to access it through the Smartphone , by localhost, it loads only HTML. Note : I'm using XAMPP. What...
asked by 19.05.2017 / 16:25
1
answer

Problem with php code to send simultaneous messages to the database!

I am trying to create a code to send messages between the users of a system in php, the problem and that I can send the message from one user to another but I would like it to be possible to send to all users, one, the same message without havin...
asked by 22.02.2017 / 15:35
0
answers

Problems with routes in CodeIgniter

I'm trying to run a code in CodeIgniter on my computer with Kubuntu. To access the home ( link ) does not have any problem, however, when I try to access the other URL ( link ) the message "The requested URL / client was not found on this server...
asked by 03.01.2019 / 22:29