Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14348 articles
Browse latest View live

Using Language file for storing arrays

Hi all. im using my language files to store and retrive arrays to fill my select boxes in a multilangual site. Code: $lang['profil_user_language_select']   =...

View Article


Using Codeigniter Encryption Library outisde CI

Hi and gooday, I would like to ask help from all of you guys. I have a Pure Php code project which needs decryption. The Encrypted data is in the database which was encrypted by a CI. Now my project is...

View Article


Encrypt Class Storing On DB What Varchar

I would like to be able to store a hash in my database column which at the moment is set at varchar 50 PHP Code: $data['posthash'] = $this->encrypt->encode($no_important_data);  Is varchar 50...

View Article

dynamic fetch of data

hi all, i want to fetch data dynamically from database using ajax call with one select and other autofill using ajax call i am unable to my code is like this: VIEW PHP Code: <?php include_once...

View Article

parse template in view codeigniter

I am new to Codeigniter. I created a template for form and want to parse it within view file. It is parsing but it echos parsed form on the top of the page, not where I want. I am not using template...

View Article


Image may be NSFW.
Clik here to view.

syntax error in CodeIgniter.php ?

So I just installed the newest version of CodeIgniter (3.2.1) and I basically can't get past the first exercise in the tutorial because there is an error in code (CodeIgniter.php) that I haven't even...

View Article

Multiple method calls from library

Hi there, I would like to know how can I call two methods from library in a loop? For example I have library called "Test" and I load it in my controller PHP Code: $this->load->library('test');...

View Article

Very New to Codeigniter need help

I have to join 4 tables using the SQL Select Statement I do not know how to set it up in Model , controllers/admin.php, application\models\Crud_model.php, application\controllers\Admin.php and the...

View Article


Codeigniter Vote Candidate System

Hai, i'm new in codeigniter and i want to create a vote candidate system as my thesis. I want to create function each user can vote 1 candidate only, and after user vote the candidate the user status...

View Article


Zend OPCache driver?

We recently upgraded our servers to PHP5.5 (I know..) for an older web-app that runs on CI 2.1.1. We were using the APC library and now the CI_Cache_apc::is_supported() routine is returning false and...

View Article

db->order_by user input injection

Hello, i'm using latest version of CI and i noticed that query builder doesn't escape order_by. Short example: PHP Code: $this->db->select()->from('table')->order_by($_POST['o_col'],...

View Article

Problem with Codes

This is the Big Problem which I believe I could have taken care of if I am a good codeigniter but very new to codeigniter application\controllers I have this codings in her PHP Code: function...

View Article

not insered data

when i insert data into database it will calll to body tag.it does not  support controller?can anyone help me..

View Article


[Solved] How to get array json on to the view?

I have this ajax script on success it gets a response which is array. Code: [{"aid":"17","pid":"0","uid":"4","posthash":"581ebfc0e8657","filename":"IMG_20161027_153658.jpg","filetype"...

View Article

Image may be NSFW.
Clik here to view.

Community Auth issues - Any help would be appreciated

Hello, I am starting a project, and I have run into a bit of a snag with Community Auth. System Specs: CentOS 7 mysql  Ver 15.1 Distrib 5.5.50-MariaDB, for Linux (x86_64) using readline 5.1 PHP 5.6.27...

View Article


Sending data from external CI to controller CI

I have created an API which is created using Native Php. Now I want this API to also pass the data to a specific CI controller. Is this possible, maybe I think I just dont know where to start. Let;s...

View Article

Phpstorm with CI & Xdebug

Is it possible to use CI with Xdebug using Phpstorm ? Debugger doesn't stop at breakpoint for example in my controller/model, always reaches only index.php. I triend remote debug, web application, and...

View Article


.doc and .docx file upload

Hi, Myself Rupam Hazra.I am facing a problem on my project.Whenever i upload a file type .doc,.docx it rendered a error this file type is not valid.I have searched the solution with this issue but...

View Article

Have CI ignore static asset files request in index.htm?

I have a themes folder outside the CI folder structure. I use CI to route to a given active theme. This is of course done in a controller. I make a check for an index.php file in the active theme...

View Article

CI 3.1.2 Unable to load any controller but default

Hi all, I've been using CI 2.0 for a long time, but now that I have a new project I'd like to move to CI 3.0. I've downloaded and installed CI 3.1.2 and the welcome controller loads properly if I...

View Article
Browsing all 14348 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>