Controller enquiry
Good day, was going through the cli lib folder, then I came across a controller class in there called CommandRunner. but no doc to state it purpose/use. can anyone help me figure that out??
View Articlethe "ci_session" session is lost, enter from a mobile device
Hello, I have an application with codeigniter 3 with hmvc MX, I'm using the table ci_session to manage my control of users to the system, when I login from my computer from any browser enter ok, but...
View Articlehtacess rule to exclude controller folder from a existing rule
Hi guys I have htaccess rule to redirect my full website to https, i would like to exclude controllers/api folder from this redirection and keep it with http instead https 1. here is the link calling...
View ArticleUsing pagination
I'm starting my first project in CodeIgniter and are a little confused by the documentation for using pagination, there is an example on the page: https://codeigniter.com/user_guide/libra...on#example...
View ArticleScaffolding css
I have been searching documentation and can't find anything on how I should scaffold my project, i.e where do I put my css folder, should it go in views, should it go in the applications folder, should...
View ArticleThe future of CI
I've often wondered how the new developers imagine the future of CI. Version 4 is a massive step in the right direction and I'm impressed by what I've seen so far. Has BCIT released an introspective on...
View ArticleCache not work with IOS
Hi I use IOS 10.13.3 and MAMP server. I problem with cache, it not store file. It bug in file CodeIgniter\Config\BaseConfig line 140. PHP Code: $value = getenv( $property ); In App\Confg\Cache , attr...
View ArticleClass instantiation in codeigniter
How inbuilt classes like libraries,views are instantiated in codeigniter ? eg:using new operator
View ArticleWebservice API
Hi! A couple of years ago i wrote a webservice using "SLIM"...worked pretty good. Very fast. But i had to do alot of coding. So i am about to do a new webservice. And i love CodeIgniter. Have been...
View ArticleForm Validation - returns "(Anonymous function)"
Hey guys, i migh've found some bug. In the docs there is a section called Callable use anything as a rule I've an object where i do the following PHP Code:...
View ArticleAdd title for item as suffix in url, only for one controller
Hi I've an application in CI 3.x I have a special controller which I'd like to make more SEF The actual uri is http://www.myapp.com/index.php/item/detail/325 and I'd like to make it...
View Articlefunction old() not allow input name type array
Hi. PHP Code: <input id="meta[full_name]" name="meta[full_name]" placeholder="Full name" value="<?= old('meta[full_name]'); ?>" type="text" class="form-control "> After post, it not store...
View ArticleShow results based on a specific date
Hello, I would like to show the results from the database only inserted in a specific time frame. I would therefore like to show only the results that have been inserted by the date (example: 20 March...
View ArticleUsing CI for AJAX (how about performance?)
Just asking - i wanna implement some ajax on my front-end, so i wonder - is it wise to use CI's controller for answers? Or it is a way better to write separate php that do only this stuff. For instance...
View Article404 not found!
I am getting a 404 error from this GET background.js:27 GET http://localhost/subit_backend.php 404 (Not Found) background.js:27 XHR failed loading: GET "http://localhost/subit_backend.php"....
View Articlequestion about module in application
Hi, I've been asked to develop an application with two modules, an online store for selling digital books and the other module is a special page where my client wants to post poems and let the users...
View ArticleSending ID to a different table after data has been added
So I have a method in which I display the categories which are coming from ci_terms table using this: PHP Code: // Select Categories $categories_options = array();...
View ArticleSpecial characters and their output (utf-8)
I struggle with the problem that special characters (Ö, Ü, Ä, ß) are not output correctly. I have check these points: - <meta charset="utf-8"> - $config['charset'] = 'UTF-8'; - database:...
View Articlexss clean issue
hello CI 3.1.5 i have an issue with a form validation +xss_clean, input string is : route val de soane $this->form_validation ->set_rules('adresse', 'Adresse',...
View ArticleOne controller to load the same form (empty or populated)
1. I'd like to create one controller to add or edit article and load only one view (empty form or populated form) The code I've attached works and it's close to what I want but it has two different...
View Article