Tag: codeigniter

49 votes
9 answers
2.8K views
joomla password encryption

I need to access the joomla user table jos_users for login checking from external php script [codeignitor]. j

avatar
Tuan
0 1 0 9
asked 07 September, 2021
69 votes
3 answers
3.1K views
58 votes
7 answers
1.7K views
CodeIgniter Active Record not equal

In CodeIgniter using active record, how do I perform a not equal to in $this->db->where(). For instance

avatar
Gigi
0 1 0 9
asked 07 September, 2021
62 votes
7 answers
2.3K views
get_instance() in Codeigniter: Why assign it to a variable?

In Codeigniter, get_instance() is a globally available function that returns the Controller super-object which

avatar
Winford
0 1 0 9
asked 07 September, 2021
60 votes
3 answers
454 views
Disable PHPStorm new file branding

When I create a new file using PhpStorm it creates it's own comment at the top, this would be fine howeve

avatar
Juliane
0 1 0 9
asked 07 September, 2021
58 votes
7 answers
2.3K views
Codeigniter - multiple database connections

I have to retrieve a MySQL database information from master database and then connect to that database, and fe

avatar
Louetta
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
1.9K views
How do I use PHPUnit with CodeIgniter?

I have read and read articles on PHPUnit, SimpleTest, and other Unit Testing frameworks. They all sound so gre

avatar
Venice
0 1 0 9
asked 07 September, 2021
61 votes
9 answers
781 views
Directory index forbidden by Options directive

I'm using the dompdf plugin for codeigniter: http://codeigniter.com/wiki/PDF_generation_using_dompdf/ to

avatar
Arline
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
983 views
Upstream too big - nginx + codeigniter

I am getting this error from Nginx, but can't seem to figure it out! I am using codeigniter and am using

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
53 votes
5 answers
2.3K views
What is a slug?

I'm currently working through CodeIgniters tutorial in its fantastic documentation. However there is a te

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
53 votes
3 answers
1.2K views
Increment field of mysql database using codeigniter's active record syntax

I have the following php-codeigniter script which attempts to increment a field of a record using active-recor

avatar
Shanita
0 1 0 9
asked 07 September, 2021
62 votes
12 answers
3.1K views
Does CodeIgniter automatically prevent SQL injection?

I just inherited a project because the last developer left. The project is built off of Code Igniter. I&apo

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
1.2K views
Redirect with CodeIgniter

Can anyone tell me why my redirect helper does not work the way I'd expect it to? I'm trying to redi

avatar
Emilia
0 1 0 9
asked 07 September, 2021
55 votes
5 answers
1.1K views
How to add an ORDER BY clause using CodeIgniter's Active Record methods?

I have a very small script to get all records from a database table, the code is below. $query = $this->db-

avatar
Rudy
0 1 0 9
asked 07 September, 2021
66 votes
11 answers
967 views
how to get the base url in javascript

I am building a website with CodeIgniter, I have various resources that I load with the base_url helper functi

avatar
Hildegard
0 1 0 9
asked 07 September, 2021
57 votes
11 answers
1.1K views
CodeIgniter Active Record - Get number of returned rows

I'm very new to CodeIgniter and Active Record in particular, I know how to do this well in normal SQL but

avatar
Majorie
0 1 0 9
asked 07 September, 2021
65 votes
1 answers
2.7K views
Advantages / Disadvantages of pconnect option in CodeIgniter

One of the parameters in the CodeIgniter database config is the following ['pconnect'] TRUE/FALSE

avatar
Janella
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
2.8K views
PhpStorm Field accessed via magic method

I have ignited datatables Library in my CodeIgniter library folder. Some Code from Library class Datatables {

avatar
Rudy
0 1 0 9
asked 07 September, 2021
61 votes
11 answers
2.8K views
base_url() function not working in codeigniter

In my web application using codeigniter. I am trying to use base_url() function but it shows empty results. I

avatar
Chaya
0 1 0 9
asked 07 September, 2021
51 votes
9 answers
2.2K views
subquery in codeigniter active record

SELECT * FROM certs WHERE id NOT IN (SELECT id_cer FROM revokace); How do I write the above select statement

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021