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

CKEDITOR + KCFINDER with INDEX.PHP removed

I have developed an application using CI3, CKEDITOR 4.4, KCFINDER version 2.51 I have removed the index.php in the URL by using .htaccess The editor part works perfectly but I can't get KCFINDER browse...

View Article


CI and front-end help on project

Hello, I am in the process of bidding on a project that will be built using CodeIgniter / bootstrap.  I should know if this lands in the next month and will have a 3-4 month timeline to get the first...

View Article


Fastfood installer for CI

Hi everyone. First of all I am sorry for the disturb.! here is my topic again, The Fastfood installer for CI. This is the last working version. it works properly with the latest version of Ci 3.1.4....

View Article

I want doc file upload validation in CI 3.0

File type not validating  Please help me. Thanks. here is the code  PHP Code:  if (!empty($_FILES['cv']['name'])) {                    $config[ 'upload_path' ] = './uploads/cv/';...

View Article

help me to change mysql code to php

can anyone help me changing this code to php? SELECT a1.mark_id, a1.student_id,   COUNT(a2.quiz) Rank  FROM mark a1, mark a2 WHERE a1.quiz < a2.mark_quiz OR (a1.mark_total=a2.quiz AND a1.student_id...

View Article


Image may be NSFW.
Clik here to view.

Select multiple validation problem... very strange...

Hi there to everyone... I have a strange problem when I try to validate a select multiple field in a form contained in a bootstrap's modal. I don't think the problem is due to the modal, but anyway, I...

View Article

Error with base_url()

Hi everyone,  I'm actually trying to put online my website. In local, everything goes fine, but when i send my files on the server (one.com), this message appear when i go to the site:  "An uncaught...

View Article

Rule Reference for greater_than/less_than value checking with using callback

Is there ny way to  greater_than/less_than  checking with using callback function. I have two fields about course fess.  $one-time-pay=10,000 $instalment_pay =12,000 I want installment pay always will...

View Article


CSRF Protection

CSRF protection wasn't effective enough as i simulate it, or am I lacking a validation. I've try to copy it the code that generated by the system and put it to another form. data i forge by another...

View Article


How to use session

Hello I have the last stable version of codeigniter and try to use session. If someone is not authentified, I display the identification form. Something very classic but... My session works but only in...

View Article

Calendar implementation question

https://code.tutsplus.com/tutorials/code...--net-9570 This is the calendar I got. A slight modification is that data is not inserted via frontend Ajax, but via admin backend. What I want to do is when...

View Article

Help with MySQL statistics with Codeigniter

I have this scenario in my application: a database with 4 main tables. They are: brands categories categories_to_product products Between brands table and products table there is a one to many...

View Article

count_all_results returns 1 every time in 3.0.6

I have the following code to get results from a mySQL database. Every time I run the code, the result is 1. If I run a get() on the code, 3 rows are returned. $this->db->select('Customer.obj_id...

View Article


& get_instance() vs $this

When should we use $this and when & get_instance()?I have a library file .The code is class Test { public function testf() {     echo 1; } } Now I load the library in my controller function...

View Article

Image may be NSFW.
Clik here to view.

How to block execution of controller

Hi! I wanna make a rest api using codeigniter. So i create new core element MY_Controller which extend CI_Controller. I make simple annotation parser but now i have a problem. How i can block execution...

View Article


HttpOnly cookie in CodeIgniter

Hi Guys, I have developed an application using CodeIgniter 2.1.3. The application has gone to security review and it has been reported that the ci_session cookie will need HttpOnly flag.  I have seen...

View Article

problem with htacces and https

Hello I've made simple htacess from manual: Code: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] If I coming via http - it...

View Article


Change the status in the db

Hello,  I am a beginner with Codeigniter. I want to change the status of my comments in order to validate them. Let me explain: by default comments have a value of 0 and invisible to visitors. I...

View Article

Handling form inside header template file

Hey, I'm new to CodeIgniter and loving the framework so far however have a coding question that I've been stumped on today. I'm looking to have a login form in the views/templates/header.php file which...

View Article

[split] CodeIgniter4 Roadmap - Authentication

(06-24-2016, 04:29 PM)jlp Wrote: We are *not* looking for any shopping cart or authentication packages. ... Important: Do not try to hijack this thread with feature requests, flames, or spam! In CI 4...

View Article
Browsing all 14114 articles
Browse latest View live


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