Questions tagged as 'codeigniter'

1
answer

Data array for controller

Good evening My controller (1) receives the data via input post from the fields of a form and throws them into an array. Subsequently the data is sent to a view (e-mail template) which is not going to be rendered. My other controller (2) i...
asked by 17.05.2015 / 22:11
0
answers

Server does not read png files in folder with codeigniter

The server does not read / display PNG files but it normally shows JPG files. Example: host.net/novo/assets/img/file.png (appears in the browser) host.net/novo/admin/assets/img/file.png (NOT displayed in browser) In case, I'm using Code...
asked by 09.05.2015 / 05:09
0
answers

Mass mailing

I need to send bulk emails with PHP, how can I do this without having to wait for PHP to finish sending the emails to only after reloading the page? For example, I have to send 100 emails, but I want to continue browsing my site while it's st...
asked by 12.05.2015 / 04:45
0
answers

Adapt a plugin in php with CodeIgniter

How to adapt the Croppic plugin for cropping images? I have two files that I have made into libraries, but I can not pass the parameters to this library . The plugin is this: link Code used below. Controller: public function...
asked by 21.01.2015 / 06:19
0
answers

How to rename multiple input file files?

How do I change the name of files that go to a particular directory? This is my code; $upload_files = $_FILES['files']; // Inicia o array dos dados que serão inseridos $conf2 = array(); // Va...
asked by 07.01.2015 / 06:42
0
answers

Temporary Table CodeIgniter + JS

I have the cad_novo_produto.php screen where it contains a table and when I click on new it will open a popup named cad_componentes_produto where information will be entered, and will return the screen cad_novo_produto.php...
asked by 19.02.2015 / 16:10
1
answer

Error with controller in codeigniter with the name system.php

I'm moving on a project that is in CodeIgniter. There is a controller called system.php which is to access admin , but when I try to access it localhost/meusite/system/método , it gives access denied because it thinks I'm...
asked by 21.05.2014 / 20:21
2
answers

Search id returned from json_encode () inside mysql

I have the following content in the field pro_are_id : ["11","3"] this content made with json_encode() , I would like to query the database and know if this id exists in specific or not, I tried this way: $area = 1; $...
asked by 16.05.2017 / 02:33
1
answer

Variable with null value when calling the model method

I'm working with codeigniter . When submitting a form I am sending the data to model through getters and setters. This is my input div class="col-md-6"> <div class="form-group">...
asked by 13.08.2018 / 22:17
1
answer

Insert data in db with codeIgniter and ajax

Hello I'm trying to insert data into my bank with ajax but I'm not getting it, it always returns me the error message Controller: public function insert_user_data(){ $this->load->model('crud'); $this->crud->insert...
asked by 28.03.2016 / 19:28