Questions tagged as 'codeigniter'

1
answer

list files in a directory with codeigniter

I can not list a directory in codeiniter, I just need the names of the files, before I did it like this: setlocale(LC_ALL,"es_ES"); $path="servicios/"; //directorio a listar $directorio=dir($path); $pn= array();//pila de nombres $pf=...
asked by 22.12.2018 / 01:05
2
answers

How can I interpret this mysql query in the codeigniter model?

select nombre,nombre_comando,valor from servidor S, configuracion C, configuracionservidor F where F.id_servidor = S.id and F.id_configuracion=C.id This query works for me in Mysql but at the moment of writing it in the model of...
asked by 11.12.2018 / 20:30
1
answer

How to print an arrangement with a foreach in CODEIGNITER?

In the DB model , the query is fine, in the Controller the information is sent correctly to the view but in the View not I know how to print the matrix in a foreach. The only way to print the arrangement is with the following: <?php...
asked by 12.12.2018 / 17:35
0
answers

404 Page Not Found The page you requested was not found

I am developing a web system in CodeIgniter, it is the first time I work with it, after having developed the application in my localhost , I decided to upload it to a test server, so I loaded my site in it, I later changed the settings in the f...
asked by 13.12.2018 / 18:16
1
answer

I try to load 4 thousand records in a Datatable and it takes several seconds

My problem is that when loading the BD records in the datatable it takes several seconds, eh I saw that you can only show the data you need to see and from there make a request for the other data but I do not understand how does that my code is...
asked by 30.11.2018 / 23:03
0
answers

High xml viewer with php

I'm trying to visualize ALTO XML files but I have not got anything that can help me do it with PHP and javascript . Attached image of the idea I'm looking for.     
asked by 20.11.2018 / 16:28
0
answers

SDK Market Payment in CodeIgniter

I'm working with CodeIgniter and I need to add the Mercado Pago SDK, the situation is that I have not managed to get CI to work on it, I currently have the SDK in my /libreries folder and I in my constructor tried to add the SDK as follow...
asked by 15.11.2018 / 23:20
1
answer

Get name of an image loaded in PHP (Codeigniter)

I'm trying to get the name of an image in the controller of a Codeigniter project, however, I can not get it. This is my method: public function add() { $path = 'img/noticias/'; $config = array( 'upload_path' => "./img/n...
asked by 18.11.2018 / 01:40
1
answer

Remove object from a PHP array

{ "success": true, "response": [ { "idseparacion": "1", "idcalidad": "21", "peso": "500", "cajas": "50", "restante": 100 }, { "idseparacion":...
asked by 12.11.2018 / 21:01
0
answers

Anyone have experience in integrating Odoo with external API?

In my company we decided to use Odoo ERP to create our sales invoices, but the problem is that the external API uses XML-RPC, currently I work with Codeigniter (php) and I have managed to connect and create contacts, but I can not find documenta...
asked by 07.11.2018 / 17:33