Add bcc or cc email to admin when user registers
Hi Friends, I am trying to add a bcc or cc email to an admin after a user's account is validated to notify the site owner a new user has joined. They want to trigger the email to also go to a mailchimp...
View ArticleIs there a way to get more metadata
according to documentation the only metadata we can get with this "$fields = $this->db->field_data('table_name');" are $field->name;...
View ArticleAggregate operation throw exception
I have convert mongodb aggrecate query to codeigater its throw exception, more information https://stackoverflow.com/questions/4916...4_49169619
View ArticleShopping Cart Help
I am trying to create a shopping cart in CodeIgniter, Could you guys suggest me any easy method that works perfect.
View ArticleBest way to prevent repopulation form after success submit?
Hello, I use set_value etc in my forms. After I submit a form and data saved to database I wan't to prevent repopulation the form. Is there a better way then always create 2 forms in html view with...
View ArticleCounting users logins on separate devices
I have a an application like many others where users are able to login to their account. I have sessions stored in the database and everything is working smoothly. I realized that how the sessions work...
View ArticleForgot Password - Expiration link after click or 24h
Hi, I would like when the password recovery is given the link that sends it by CodeIgniter expires after it is accessed or after 24h if it is not accessed. Does anyone know how I could do that?
View ArticleHow to Retrieve session id
login.php <?php class Login extends MY_Controller { public function index() { $this->load->view('login_view'); } public function user_login() {...
View ArticleGlobal Variable
Hi, Is there any way to create global variable in CI which can be accessed from any of the Model or Controller .(Note Variable is not Static) Thank you. Prateek Sinha
View ArticleGetting day, month and year apart from Db
Dear all. I want to select the day, month and year from a SQL date field, so with the structure as 2018-03-09. To keep using that example, I want to do this: select the day (= 09), the month (= 03) and...
View ArticleAuto-Updated Session in Hosting server.
There is no problem to use session in local server. But in hosting server, whenever refresh, session data is changed with encrypted data( I can see decypted data in local)....
View ArticleController not Working With HTTPS protocol
hi, i used codeignitor many times but this issue is very strange for me Problem with HTTPS protocol when i upload my code on hosting that have HTTPS protocol installed it cant access controller...
View ArticleRound brackets issue in Codeigniter
Hi, I am working on Codeigniter project, I need to migrate whole database MySQL to SQL server, for that I am getting an issue in select query, I can see in SQL server round brackets are not supported...
View ArticleHow to link with a hash in URL?
I am trying to create a simple link as seen in the code below. Code: <li class="nav-item"> <a class="nav-link" id="nav-item" href="<?=site_url('Home#About');?>"> About</a>...
View ArticleUnderstanding CodeIgniter
Hello Community, First of all I want to thank everyone that contribute to make CodeIgniter a great framework. And to those who are developing in CI for years, I want to ask for you wisdom and guidance....
View ArticleCI4 composer packages
While browsing the CI4 repo I have noticed that every component has been recreated from scratch. Why have you decided to create everything from scratch instead of using battle-tested composer packages?
View Articlefix captcha_helper file based on microtime() and php7.x
Hello By wishing to integrate a captcha to a small ad application named FladsClassifeds, the image creation with the imageimage (fileimage) function creates an image file with the rights to zero 0000...
View ArticleRe-arranging array of array
Hi all, I have this kind of array of example, $data = array( array('name'=>'Test 1 Corp', 'serviced'=>'Visual help', 'price'=>'100.00' , 'serviced_date'=>'01/01/2018'),...
View ArticleCodeIgniter 3.1.7 unbuffered_row() returning NULL but row() works
I am attempting to output a CSV from a query result. dbutil->csv_from_result() should work, but it only returns the column headers. No data is included. I tracked it down to...
View ArticleI thought this stored procedure would be faster than plain selects
I just spent all morning working on a stored procedure that recursively selects categories from a table that has a parent/child relationship. I knew I could do this in PHP/CodeIgniter, but I thought I...
View Article