No Session
Hi All, Our security specialist force us to use "Secure and HttpOnly" on all of our servers, after enabling the "Secure and HttpOnly", all of our CI application is not saving session / cookies. Already...
View ArticleRedirect page on codeigniter
Dear All, I want to ask, How to redirect the website page in codeigniter? Example : Hosting A : example.com/login want to redirect Hosting B : example.net/login Regards, Habib Musyaddat
View ArticleModel Access
Hello Everyone, I'm auto loading some model classes and unable to access it from admin controller. Admin controllers are not directly inside application/controllers structure. It's structure is like...
View ArticleTransactions Question
I would like to know if my code below is OK for the codeigniter database Transactions, I am not sure if the transactions works for update and inserts?...
View ArticleFunction: _error_handler
Hello i create a construct to make a menu like: PHP Code: public function __contruct() { parent::__contruct(); $this->load->model('categorias_model', 'modelcategorias');...
View Articlerun codeigniter with windows server
hi, i have windows server and i can't run my script on it this error "Not Found" htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f...
View Articleregex to eliminate port number from url
I tried this and some other things. What I need in this example would be to return just localhost without the colon and the port number. There may or may not be a port number and it needs to return a...
View ArticleCodeIgniter interview questions and answers.
Hello EveryOne, I need collection of codeigniter Questions & Answers for Interview. If anyone have(doc,pdf etc..) then please send me at sahmed@tecziq.com. Thanks.
View ArticleWhen Searching for a Second Product
I am building a search feature on a website that lists companies and their products. A user can search for companies by the type of product they offer and the role they play in the distribution...
View ArticleHow to keep a php socket open
Hi all, I'm using CodeIgniter as a front end for a home control system. One of the devices I want to control has a socket interface. To talk to it I have to open the socket and keep it open while I...
View Article[newbie]Cannot load model
HI , i try to load model in a controller function : this is my function : Code: public function prova(){ $this->load->model('user_model'); $data['record']=$this...
View Articleunable to connect with CSS using base_URL and link_tag()
I am trying to connect with my CSS using link_tag() but system is not connecting... no errors .. nothing happens Code: <!DOCTYPE html> <html> <head> <meta...
View ArticleDirectory access is forbidden
i am upload all the files change the file config/database and config/config but i saw that almost in all folder i have index.html that include Directory access is forbidden and that what i saw and not...
View Articledisplay error by function
hi in my model i have this function : Code: function login($email,$passwrd){ $this->db->where('email', $email); $q = $this->db->get('users')->row();...
View ArticleOrm and Form components for both CI3 and CI4
This are a set of components i have developed to assist me in developing in php projects. you might find the useful to you. POWERORM The ORM Component does the following: Works on both codeigniter 3...
View ArticleLabocine: the netflix for science cinema!
Hi All, I'd like to present to you Labocine, a new science cinema platform built with CI3! I'd like to thank the CI community for this wonderful framework. I'm the lead backend dev on this project....
View Articlepassing variable from view to controller
I need to print all the students' marksheet, I've a view where you can select different classes i.e; primary one, primary two. students are allocated to their respective classes, so need to get the...
View Articlehtaccess do not work for subdomain in codeigniter
I have a subdomain http://codeigniter.akbarwebtech.com my htaccess Code: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^system.* RewriteRule...
View ArticleUpgrade to CI 3.1.4 [SOLVED]
I know this is not strictly a CI issue but any help would be appreciated. I upgraded from 3.0.6 to 3.1.4 and I see the following warning: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so'...
View Article