Questions tagged as 'codeigniter'

1
answer

Problems with Cielo Library and communication with Codeigniter

I'm implementing communication with Cielo servers for a system of mine. However, trying to load the Cielo library gives me an error. The folder structure is as follows: third_party / Cielo / {sky git direct lib files} controllers / Ciel...
asked by 27.04.2016 / 06:39
1
answer

Codeigniter - select and print values

Well, I'm trying to print values on a page of a select I've done in a model. But give me the error: Undefined variable: login. Controller: function perfil() { $this->load->model('perfil_model'); $data['list'] = $this->perfil_m...
asked by 06.06.2016 / 23:53
0
answers

Rename index.php with .htaccess

Well, I wanted to access index.php from any parameter in the url, from .htaccess, like this: site.com/sistema1 site.com/sistema2 ... and go to site.com/index.php Then I can handle certain functions from this url. What is the best way t...
asked by 02.04.2016 / 13:39
1
answer

Function only executes 1 time

I created a% w_that resizes an image that I enter the name, but it's happening that I need the same image to resize to 3 different dimensions, so I made the code image.php (library) <?php if ( ! defined('BASEPATH')) exit('No direct scr...
asked by 26.03.2016 / 00:02
2
answers

assign radio value found in sql - Codeigniter

I want the user to load the data update page to see the data that he has entered in his record. I can see the data that is in type = text but not in type = radius. View: <?php foreach ($resultados_pesquisa as $linha) { $nome = $linha[...
asked by 14.05.2016 / 13:12
1
answer

Calling URL other than Controller Codeigniter

I would like to know if you have any simple way to make the URL different from the name of the driver in Codeigniter. Knowing that the codeigniter works as follows: www.mysite.com/CONTROLLER/FUNCTION For example: When calling the url www.m...
asked by 01.03.2016 / 18:23
0
answers

Codeigniter + ProgressBar

Hello. I'm trying to develop a file upload system which at the post it generates and loads a progressbar according to the course of my file unpacking, reading and storage script in the database. This is the first time I'm messing with progres...
asked by 23.04.2016 / 15:20
1
answer

Site does not pull local style settings

I use codeigniter in my application. In the localhost works perfectly. I use a assets folder outside of the Application where it contains all these files. The code I pull is this: <link href="<?php echo base_url(); ?>assets/cs...
asked by 18.04.2016 / 12:45
1
answer

Display mysql data using angularjs / codeigniter

I'm developing an application in CodeIgniter 3 and I came across the following problem. I want to import the data from the database table and display it on a php page. In my controller I created the function: public function relacionar() {...
asked by 01.02.2016 / 22:26
1
answer

Fatal error: Call to a member function num_rows ()

I have the following lines in CodeIgniter : Line 217 if ($query->num_rows() == 0) { $this->sess_destroy(); return FALSE; } Displays the following error:    Fatal error: Call a member function num_rows (...
asked by 21.11.2015 / 20:57