Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 14,372
» Latest member: michlalker
» Forum threads: 69,910
» Forum posts: 433,581

Full Statistics

Latest Threads
current user data
Forum: General Help
4 hours ago
» Replies: 4   » Views: 172
softDelete and database i...
Forum: CodeIgniter 4 Support
6 hours ago
» Replies: 5   » Views: 217
Prevent hack sms function
Forum: General Help
7 hours ago
» Replies: 2   » Views: 133
Error max connection data...
Forum: General Help
Today, 05:29 AM
» Replies: 7   » Views: 228
How do I replace front-en...
Forum: CodeIgniter 3.x
Today, 02:47 AM
» Replies: 8   » Views: 391
CI Way of Using Own Class...
Forum: Model-View-Controller
Today, 01:04 AM
» Replies: 4   » Views: 2,736
CI3 Multiple apps one sou...
Forum: Best Practices
Yesterday, 10:54 AM
» Replies: 3   » Views: 174
How do i integrate finger...
Forum: Addins
Yesterday, 09:06 AM
» Replies: 4   » Views: 315
Where to put this code
Forum: General Help
08-20-2019, 11:59 AM
» Replies: 2   » Views: 162
Upgrading from 2 to 3 For...
Forum: General Help
08-20-2019, 08:28 AM
» Replies: 7   » Views: 398

  Prevent hack sms function
Posted by: omid_student - Today, 05:35 AM - Forum: General Help - Replies (2)

I have a function in my API that send sms to user's mobile
I try limit it by user IP
But user can change IP and again send sms or hack it
Do you have best way for limit sms for each user?

  softDelete and database indexing
Posted by: MGatner - Yesterday, 12:23 PM - Forum: CodeIgniter 4 Support - Replies (5)

For the database gurus… CI4's `softDeletes` feature means that the `deleted_at` field will be a part of pretty much every read query for a model’s table. When creating indices, should I be indexing everything against `deleted_at` as well? Both directions?

  Error max connection database
Posted by: omid_student - Yesterday, 06:20 AM - Forum: General Help - Replies (7)

I have error already has more than 'max_user_connections' active connections codeigniter in my project
Do i have to upgrade my host or my programming is mistake?
I use Restful and use limitation for controller with database also use api key with database
Can they affect on database connections?

  CI3 Multiple apps one source optimal performance
Posted by: bartMommens - Yesterday, 03:28 AM - Forum: Best Practices - Replies (3)

Hey Guys,

I've been struggling with this question for a while now. I've created an app in CI3, at first i had 1 client that used it so no problem there. Now after a few years i have 20+ clients using this app.

At start i placed the full app package (system / application) folder in a subdomain of my hosting (1 server), so everyone has their own instance of the app. But to update / maintain all those seperate versions is a nightmare. Also: Each app also relies on their own database.

So i'm thinking about moving the system and application folders of the app to a central location on the server (outside www folder), and each subdomain will have an index file and some custom config files. And all apps will rely on that one central location to function.

My main concern is that this will lead to a lower performance since they all rely on that one source-location. Will it increase performance if i create multiple source "hubs"? So that for example 10 apps run of one source, and so for each 10 apps create a different hub?

All of this is done on one server with subdomains. (for the moment)

Looking forward hearing your opinion on this matter. 

Best regards,

  Where to put this code
Posted by: ronniebel - 08-20-2019, 09:37 AM - Forum: General Help - Replies (2)

I'm just beginning to use CodeIgniter to build this site for an educational conference. I had for many years used a program called Rapidweaver on my Mac in conjunction with a web app called Sitelok. Now I'm switching entirely to CodeIgniter. I have a number of static pages and I'm able to to connect to the database to show last year's presentations. Now I need to build the login and registration system but I want to piggy back off of the Sitelok login system designed for Rapidweaver. Below are three parts of the code that Sitelok requires for Rapidweaver, however, I'm not sure where to put this code in my CodeIgniter project. The Sitelok folder is still in my project, so the code will be able to access any config files there. The Sitelok user table is also part of the database that is loading so there's no issues there.

Here are the instructions for each of the three pieces of code followed by the code itself.

Part 1: Copy and paste the code below and add to the very top of your page (before any DOCTYPE or <HTML>)"

PHP Code:

Part 2: Copy and paste this code below to the <HEAD> section of your page

PHP Code:
<?php if (function_exists('sl_loginformhead')) sl_loginformhead(15,false); ?>

Part 3: Copy and paste this code below to the <BODY> section of your page where you want the form to appear

PHP Code:
<?php if (function_exists('sl_loginformbody')) sl_loginformbody(15,false,$msg); ?>

Any ideas on where this code would go to transfer this to CodeIgniter?

  How do i integrate fingerprint recognition in a php codeigniter ?
Posted by: kvanaraj - 08-20-2019, 01:37 AM - Forum: Addins - Replies (4)

How do i integrate fingerprint recognition in a php codeigniter ?

  current user data
Posted by: muuucho - 08-20-2019, 01:28 AM - Forum: General Help - Replies (4)

I like to load data from various tables that belong to a logged-in user and keep it as long as the user is logged in. I can do that in 2 ways.

When a user login, I grab and store the user data in a session array, like $_SESSION['current_user']. Of course, I need to ensure that if the user data changes throughout the session, the session data has to change accordingly.

2 Grab data on every request
When a logged-in user requests any page, all user data is grabbed from each table and is stored in an array, like $current_user

Which performs best? What is best practice? Security issues?

  Investigating Docker
Posted by: richb201 - 08-18-2019, 07:45 AM - Forum: General Help - Replies (3)

I am investigating using Docker with my existing CI app. What concerns me (from my reading) is that Docker is "environment-agnostic", a part of which seems to be  setting a container to read only. I plan on using 3 Bitnami containers (as per the bitnami documentation), one for Apache, one for php-fpm, and one for MariaDB. What I am concerned about is the way that CI writes out to files to keep track of things such as session variables (actually i don't remember the details but I do remember that something gets written out). 

My plan is to set up a development environment on my Laptop for development and testing. Debugging on the server almost "killed me". Anyone done any investigation into using Docker?

  Installing Ckeditor
Posted by: ronniebel - 08-16-2019, 10:13 PM - Forum: Addins - Replies (7)

I'm a newbie to CodeIgniter and I'm trying to install Ckeditor in my app. I need step by step instructions for that. Any ideas where I can find that?

  Myth Auth
Posted by: InsiteFX - 08-15-2019, 04:20 PM - Forum: CodeIgniter 4 Discussion - Replies (2)


The app/Config Email.php file has been taken out of the new CI4 development branch,

I had to use the old one for Myth Auth to do the forgot password stuff.

But it is running.

Might be a good idea just to leave the app/Config Email.php in for now it can still
be used for add on Email libaries etc;

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.