Tagged Questions
214
votes
11answers
108k 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?
38
votes
6answers
73k 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 ...
40
votes
13answers
33k 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?
26
votes
12answers
8k views
To Use a PHP Framework or Not?
I've started writing a few applications in PHP, and I'm becoming more familiar with the language. Someone told me about CakePHP, and CodeIgniter. I wanted to get a better understanding of how these ...
19
votes
6answers
26k views
codeigniter multiple file upload
I am trying to get a multiple upload library working for my codeigniter based website, I have it working almost but I have a slight problem if I upload more than one image, the file extentions get ...
14
votes
3answers
23k views
Remove index.php From URL - Codeigniter 2
I am having trouble removing index.php from my URLs in Codeigniter. I've made a few websites with Codeigniter 1.7 and the .htaccess code I used doesn't work in 2.
I have tried using
<IfModule ...
13
votes
5answers
9k views
Header and footer in CodeIgniter
I really don't enjoy writing in every controller:
$this->load->view('templates/header');
$this->load->view('body');
$this->load->view('templates/footer');
Is it ...
57
votes
5answers
36k 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 ...
46
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?, ...
29
votes
4answers
22k views
What CodeIgniter template library is best? [closed]
As I see, there's a few Codeigniter template engines scattered all over the web, but unfortunately I can't recognize which is better in regard to: performance, features, maintenance ..etc
Some of ...
36
votes
6answers
20k 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, ...
17
votes
5answers
46k views
sending email with gmail smtp with codeigniter email library
<?php
class Email extends Controller {
function Email()
{
parent::Controller();
$this->load->library('email');
}
function index()
{
...
18
votes
12answers
20k views
CodeIgniter PHP Framework - Need to get query string
I'm creating an e-commerce site using CodeIgniter.
How should I get the query string?
I am using a Saferpay payment gateway. The gateway response will be like this:
...
7
votes
7answers
9k views
Enabling $_GET in codeigniter
I've been trying to figure out how to enable $_GET in CI.
It appears the framework deliberately destroys the $_GET array, and that enabling it requires serious tinkering with the core classes. can ...
11
votes
6answers
10k views
Uploading in Codeigniter - The filetype you are attempting to upload is not allowed
I am getting the error: The filetype you are attempting to upload is not allowed when I try to uplaod any file.
if(!empty($_FILES['proof_of_purchase']['name'])) {
$config['upload_path'] = ...