CodeIgniter is an open-source PHP web development framework created by EllisLab Inc. The framework implements a modified version of the Model-View-Controller design pattern.

learn more… | top users | synonyms

210
votes
11answers
106k views

How should I choose an authentication library for CodeIgniter?

I see there are a few. Which ones are maintained and easy to use? What are their pros and cons?
56
votes
9answers
130k views

PHP: Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for report generation. The client ...
53
votes
5answers
35k views

CodeIgniter: Create new helper?

I need to loop lot of arrays in different ways and display it in a page. The arrays are generated by a module class. I know that its better not to include functions on 'views' and I want to know where ...
45
votes
19answers
14k views

Which PHP framework is closest to Ruby on Rails? CakePHP? CodeIgniter? [closed]

I'm going to be switching back and forth between Ruby on Rails projects, and some as-of-yet undecided PHP MVC framework projects. Which of the PHP MVC frameworks out there (CakePHP, CodeIgniter?, ...
44
votes
7answers
4k views

Going from a framework to no-framework

I've been developing in PHP for about 8 years as a hobby. In 2009, I picked up codeigniter and since then I've not managed to get a single project developed. I find it slows me down trying to work ...
37
votes
13answers
31k views

How to remove “index.php” in codeigniter's path

How do I remove the "index.php" sticking out in every path in codeigniter somewhere in the center? I want clean non index.php-fied URLs?
36
votes
6answers
71k views

insert multiple rows via a php array into mysql

I'm passing a large dataset into a mysql table via php using insert commands and I'm wondering if its possible to insert approximately 1000 rows at a time via a query other than appending each value ...
35
votes
6answers
19k views

PHP_SELF vs PATH_INFO vs SCRIPT_NAME vs REQUEST_URI

I am building a PHP application in CodeIgniter. CodeIgniter sends all requests to the main controller: index.php. However, I don't like to see index.php in the URI. For example, ...
35
votes
4answers
21k views

Handling PUT/DELETE arguments in PHP

I am working on my REST client library for CodeIgniter and I am struggling to work out how to send PUT and DELETE arguments in PHP. In a few places I have seen people using the options: ...
31
votes
1answer
26k views

CodeIgniter activerecord, retrieve last insert id?

Are there any options to get the last insert id of a new record in CodeIgniter? $last_id = $this->db->insert('tablename', array('firstcolumn' => 'value', ...
31
votes
6answers
46k views

the best way to make codeigniter website multi-language. calling from lang arrays depends on lang session?

I'm researching hours and hours, but I could not find any clear, efficient way to make it :/ I have a codeigniter base website in English and I have to add a Polish language now. What is the best way ...
30
votes
8answers
807 views

SQL Infinite Calendar Pattern

I'm going to make a Mysql based calendar system where you can have repeating pattern for lets say every monday forever and ever. It must also cover static/once-only events. What I'm wondering about, ...
30
votes
16answers
26k views

CMS based on CodeIgniter

I’m looking for a CMS based on CodeIgniter. Can you suggest what CMS I could use? I want to learn how to build a CodeIgniter application based using a CMS as a reference.
29
votes
4answers
26k views

How to get Controller, Action, URL informations with CodeIgniter

I have these urls: http://backend.domain.com/system/setting/edit/12 http://backend.domain.com/product/edit/1 How to get controller name, action name from these urls. I'm codeigniter newbie. Are ...
29
votes
6answers
15k views

MongoDB and CodeIgniter

Can anyone assist in pointing me to a tutorial, library, etc. that will allow me to work with MongoDB from CodeIgniter? Any help is really appreciated.

1 2 3 4 5 1340
15 30 50 per page